mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 18:13:18 +03:00
fix theme radio update (#9647)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -555,7 +555,7 @@ class MyTheme {
|
||||
return themeModeFromString(bind.mainGetLocalOption(key: kCommConfKeyTheme));
|
||||
}
|
||||
|
||||
static void changeDarkMode(ThemeMode mode) async {
|
||||
static Future<void> changeDarkMode(ThemeMode mode) async {
|
||||
Get.changeThemeMode(mode);
|
||||
if (desktopType == DesktopType.main || isAndroid || isIOS || isWeb) {
|
||||
if (mode == ThemeMode.system) {
|
||||
|
||||
Reference in New Issue
Block a user