mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: clean up
opt: pages Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -154,8 +154,6 @@ class MineController extends GetxController {
|
||||
],
|
||||
),
|
||||
),
|
||||
// duration: const Duration(seconds: 2),
|
||||
// showCloseIcon: true,
|
||||
);
|
||||
},
|
||||
).then((res) {
|
||||
@@ -200,6 +198,9 @@ class MineController extends GetxController {
|
||||
|
||||
onChangeTheme() {
|
||||
themeType.value = nextThemeType;
|
||||
try {
|
||||
Get.find<MineController>().themeType.value = themeType.value;
|
||||
} catch (_) {}
|
||||
setting.put(SettingBoxKey.themeMode, themeType.value.code);
|
||||
Get.changeThemeMode(themeType.value.toThemeMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user