Merge pull request #3544 from Heap-Hop/master

Fix Android bugs
This commit is contained in:
RustDesk
2023-03-08 10:54:52 +08:00
committed by GitHub
6 changed files with 15 additions and 3 deletions

View File

@ -368,7 +368,7 @@ class MyTheme {
static void changeDarkMode(ThemeMode mode) async {
Get.changeThemeMode(mode);
if (desktopType == DesktopType.main) {
if (desktopType == DesktopType.main || isAndroid || isIOS) {
if (mode == ThemeMode.system) {
await bind.mainSetLocalOption(key: kCommConfKeyTheme, value: '');
} else {