password max length prompt (#9248)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-09-04 11:31:13 +08:00
committed by GitHub
parent 04c0f66ca9
commit 29e12b84a9
9 changed files with 47 additions and 16 deletions

View File

@@ -1495,3 +1495,8 @@ pub fn clear_trusted_devices() {
#[cfg(not(any(target_os = "android", target_os = "ios")))]
ipc::clear_trusted_devices();
}
#[cfg(feature = "flutter")]
pub fn max_encrypt_len() -> usize {
hbb_common::config::ENCRYPT_MAX_LEN
}