fix heartbeat

Closes #929

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-04 12:08:04 +08:00
parent 3208661a52
commit d246462535
8 changed files with 28 additions and 16 deletions

View File

@@ -31,9 +31,7 @@ class MineController
Rx<ThemeType> themeType = ThemeType.system.obs;
static RxBool anonymity =
(Accounts.account.isNotEmpty &&
!Accounts.get(AccountType.heartbeat).isLogin)
.obs;
(Accounts.account.isNotEmpty && !Accounts.heartbeat.isLogin).obs;
ThemeType get nextThemeType =>
ThemeType.values[(themeType.value.index + 1) % ThemeType.values.length];