opt: theme type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-28 13:11:29 +08:00
parent abdc4acd61
commit 25fc85bd3a
10 changed files with 54 additions and 87 deletions

View File

@@ -308,6 +308,7 @@ class _StyleSettingState extends State<StyleSetting> {
_tempThemeValue = result;
settingController.themeType.value = result;
setting.put(SettingBoxKey.themeMode, result.index);
GlobalData().themeMode = result.index;
Get.forceAppUpdate();
}
},