fix theme type

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-21 14:06:16 +08:00
parent 6692c9e851
commit a7e67796f1
2 changed files with 8 additions and 6 deletions

View File

@@ -30,12 +30,14 @@ class MineController
// 用户状态 动态、关注、粉丝
Rx<UserStat> userStat = UserStat().obs;
Rx<ThemeType> themeType = ThemeType.system.obs;
static RxBool anonymity =
(Accounts.account.isNotEmpty && !Accounts.heartbeat.isLogin).obs;
Rx<ThemeType> themeType = Pref.themeType.obs;
ThemeType get nextThemeType =>
ThemeType.values[(themeType.value.index + 1) % ThemeType.values.length];
static RxBool anonymity =
(Accounts.account.isNotEmpty && !Accounts.heartbeat.isLogin).obs;
late final list =
<({IconData icon, double size, String title, VoidCallback onTap})>[
(