mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-29 08:19:05 +08:00
Fix. Android settings theme always show "Dark theme"
This commit is contained in:
parent
239d0291d0
commit
88bab7c2d0
@ -397,8 +397,13 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
|
||||
showLanguageSettings(gFFI.dialogManager);
|
||||
}),
|
||||
SettingsTile.navigation(
|
||||
title: Text(translate('Dark Theme')),
|
||||
leading: Icon(Icons.dark_mode),
|
||||
title: Text(translate(
|
||||
Theme.of(context).brightness == Brightness.light
|
||||
? 'Dark Theme'
|
||||
: 'Light Theme')),
|
||||
leading: Icon(Theme.of(context).brightness == Brightness.light
|
||||
? Icons.dark_mode
|
||||
: Icons.light_mode),
|
||||
onPressed: (context) {
|
||||
showThemeSettings(gFFI.dialogManager);
|
||||
},
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Seguretat"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tema Fosc"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Fosc"),
|
||||
("Light", "Clar"),
|
||||
("Follow System", "Tema del sistema"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "安全"),
|
||||
("Theme", "主题"),
|
||||
("Dark Theme", "暗黑主题"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "黑暗"),
|
||||
("Light", "明亮"),
|
||||
("Follow System", "跟随系统"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Sikkerhed"),
|
||||
("Theme", "Thema"),
|
||||
("Dark Theme", "Mørk Tema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Mørk"),
|
||||
("Light", "Lys"),
|
||||
("Follow System", "Følg System"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Sicherheit"),
|
||||
("Theme", "Farbgebung"),
|
||||
("Dark Theme", "Dunkle Farbgebung"),
|
||||
("Light Theme", "Helle Farbgebung"),
|
||||
("Dark", "Dunkel"),
|
||||
("Light", "Hell"),
|
||||
("Follow System", "Systemstandard"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Seguridad"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tema Oscuro"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Oscuro"),
|
||||
("Light", "Claro"),
|
||||
("Follow System", "Tema del sistema"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "امنیت"),
|
||||
("Theme", "نمایه"),
|
||||
("Dark Theme", "نمایه تیره"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "تیره"),
|
||||
("Light", "روشن"),
|
||||
("Follow System", "پیروی از سیستم"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Sécurité"),
|
||||
("Theme", "Thème"),
|
||||
("Dark Theme", "Thème somble"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Sombre"),
|
||||
("Light", "Clair"),
|
||||
("Follow System", "Suivi système"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Ασφάλεια"),
|
||||
("Theme", "Θέμα"),
|
||||
("Dark Theme", "Σκούρο θέμα"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Σκούρο"),
|
||||
("Light", "Φωτεινό"),
|
||||
("Follow System", "Από το σύστημα"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Biztonság"),
|
||||
("Theme", "Téma"),
|
||||
("Dark Theme", "Sötét téma"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Sötét"),
|
||||
("Light", "Világos"),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Keamanan"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tema gelap"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Gelap"),
|
||||
("Light", "Terang"),
|
||||
("Follow System", "Ikuti sistem"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Sicurezza"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tema Scuro"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Scuro"),
|
||||
("Light", "Chiaro"),
|
||||
("Follow System", "Segui il sistema"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Beveiliging"),
|
||||
("Theme", "Thema"),
|
||||
("Dark Theme", "Donker Thema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Donker"),
|
||||
("Light", "Licht"),
|
||||
("Follow System", "Volg Systeem"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Zabezpieczenia"),
|
||||
("Theme", "Motyw"),
|
||||
("Dark Theme", "Ciemny motyw"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Ciemny"),
|
||||
("Light", "Jasny"),
|
||||
("Follow System", "Zgodny z systemem"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Segurança"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tema escuro"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Escuro"),
|
||||
("Light", "Claro"),
|
||||
("Follow System", "Seguir sistema"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Securitate"),
|
||||
("Theme", "Temă"),
|
||||
("Dark Theme", "Temă întunecată"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Întunecat"),
|
||||
("Light", "Luminos"),
|
||||
("Follow System", "Urmărește sistem"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Безопасность"),
|
||||
("Theme", "Тема"),
|
||||
("Dark Theme", "Тёмная тема"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Тёмная"),
|
||||
("Light", "Светлая"),
|
||||
("Follow System", "Системная"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Varnost"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Temna tema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Temna"),
|
||||
("Light", "Svetla"),
|
||||
("Follow System", "Sistemska"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Siguria"),
|
||||
("Theme", "Theme"),
|
||||
("Dark Theme", "Theme e errët"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "E errët"),
|
||||
("Light", "Drita"),
|
||||
("Follow System", "Ndiq sistemin"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Bezbednost"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Tamna tema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Tamno"),
|
||||
("Light", "Svetlo"),
|
||||
("Follow System", "Prema sistemu"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Säkerhet"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Mörkt tema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Mörk"),
|
||||
("Light", "Ljus"),
|
||||
("Follow System", "Följ system"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "ความปลอดภัย"),
|
||||
("Theme", "ธีม"),
|
||||
("Dark Theme", "ธีมมืด"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "มืด"),
|
||||
("Light", "สว่าง"),
|
||||
("Follow System", "ตามระบบ"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Güvenlik"),
|
||||
("Theme", "Tema"),
|
||||
("Dark Theme", "Koyu Tema"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Koyu"),
|
||||
("Light", "Açık"),
|
||||
("Follow System", "Sisteme Uy"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "安全"),
|
||||
("Theme", "主題"),
|
||||
("Dark Theme", "暗黑主題"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "黑暗"),
|
||||
("Light", "明亮"),
|
||||
("Follow System", "跟隨系統"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", "Безпека"),
|
||||
("Theme", "Тема"),
|
||||
("Dark Theme", "Темна тема"),
|
||||
("Light Theme", ""),
|
||||
("Dark", "Темна"),
|
||||
("Light", "Світла"),
|
||||
("Follow System", "Як у системі"),
|
||||
|
@ -349,6 +349,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Security", ""),
|
||||
("Theme", ""),
|
||||
("Dark Theme", ""),
|
||||
("Light Theme", ""),
|
||||
("Dark", ""),
|
||||
("Light", ""),
|
||||
("Follow System", ""),
|
||||
|
Loading…
Reference in New Issue
Block a user