diff --git a/.gitignore b/.gitignore index ec6251084..a19ef9ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,6 @@ lib/generated_bridge.dart .ssh .devcontainer/.* # build cache in examples -examples/**/target/ \ No newline at end of file +examples/**/target/ +# === +vcpkg_installed \ No newline at end of file diff --git a/flutter/lib/mobile/pages/server_page.dart b/flutter/lib/mobile/pages/server_page.dart index bcb077782..537d353b7 100644 --- a/flutter/lib/mobile/pages/server_page.dart +++ b/flutter/lib/mobile/pages/server_page.dart @@ -267,6 +267,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> { @override Widget build(BuildContext context) { final isButtonLocked = _countdown > 0; + final screenHeight = MediaQuery.of(context).size.height; return AlertDialog( content: Container( @@ -321,7 +322,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> { ), SizedBox(height: 18), SizedBox( - height: 220, + height: screenHeight * 0.3, child: Scrollbar( child: SingleChildScrollView( child: Text( diff --git a/src/lang/cn.rs b/src/lang/cn.rs index 006a3b07c..9fe91bddd 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "交换鼠标左右键"), ("2FA code", "双重认证代码"), ("2fa_tip", "请输入授权 app 中的双重认证代码"), - ("More", ""), + ("More", "更多"), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index b7c04758a..5b4a523fe 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "Prohodit levé a pravé tlačítko myši"), ("2FA code", "2FA kód"), ("2fa_tip", "Zadejte svůj kód 2FA do ověřovací aplikace."), - ("More", ""), + ("More", "Více"), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index f18732aea..2365927eb 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "Linke und rechte Maustaste tauschen"), ("2FA code", "2FA-Code"), ("2fa_tip", "Bitte geben Sie Ihren 2FA-Code in der Authentifizierungs-App ein."), - ("More", ""), + ("More", "Mehr"), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index cc447b2af..b71b3775b 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "wissel-links-rechts-muis"), ("2FA code", "2FA-code"), ("2fa_tip", "Geef je 2FA-code op in de verificatie-app."), - ("More", ""), + ("More", "Meer"), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index 710e77b5e..832be0128 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "Поменять левую и правую кнопки мыши"), ("2FA code", "Код 2FA"), ("2fa_tip", "Введите код двухфакторной аутентификации из приложения для аутентификации."), - ("More", ""), + ("More", "Ещё"), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 8f1f3f21d..4590ff66d 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -580,6 +580,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("swap-left-right-mouse", "Prehodiť ľavé a pravé tlačidlo myši"), ("2FA code", "2FA kód"), ("2fa_tip", "Zadajte svoj kód 2FA do aplikácie na overovanie."), - ("More", ""), + ("More", "Viac"), ].iter().cloned().collect(); } diff --git a/vdi/host/Cargo.toml b/vdi/host/Cargo.toml index 42b6fc83a..0584b4690 100644 --- a/vdi/host/Cargo.toml +++ b/vdi/host/Cargo.toml @@ -8,6 +8,6 @@ edition = "2021" qemu-display = { git = "https://github.com/rustdesk/qemu-display" } hbb_common = { path = "../../libs/hbb_common" } clap = { version = "4.1", features = ["derive"] } -zbus = { version = "3.0" } +zbus = { version = "3.14.1" } image = "0.24" async-trait = "0.1"