opt: change theme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-16 22:12:24 +08:00
parent c4e7263ed6
commit cb6ead96d1
5 changed files with 37 additions and 30 deletions

View File

@@ -201,7 +201,7 @@ class MineController extends GetxController {
onChangeTheme() {
themeType.value = nextThemeType;
setting.put(SettingBoxKey.themeMode, themeType.value.code);
Get.forceAppUpdate();
Get.changeThemeMode(themeType.value.toThemeMode);
}
pushFollow() {