chore: clean up

opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-19 18:05:02 +08:00
parent e5f3c3c922
commit a2ef4e6f84
99 changed files with 697 additions and 2097 deletions

View File

@@ -131,10 +131,8 @@ List<SettingsModel> get styleSettings => [
onChanged: (value) {
if (value) {
autoScreen();
// SmartDialog.showToast('已开启横屏适配');
} else {
AutoOrientation.portraitUpMode();
// SmartDialog.showToast('已关闭横屏适配');
}
}),
SettingsModel(
@@ -536,6 +534,9 @@ List<SettingsModel> get styleSettings => [
},
);
if (result != null) {
try {
Get.find<MineController>().themeType.value = result;
} catch (_) {}
GStorage.setting.put(SettingBoxKey.themeMode, result.index);
Get.put(ColorSelectController()).themeType.value = result;
Get.changeThemeMode(result.toThemeMode);