mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: unread msg
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -74,10 +74,7 @@ class MainController extends GetxController {
|
||||
}
|
||||
|
||||
Future queryUnreadMsg() async {
|
||||
if (isLogin.value.not || homeIndex == -1) {
|
||||
return;
|
||||
}
|
||||
if (msgUnReadTypes.isEmpty) {
|
||||
if (isLogin.value.not || homeIndex == -1 || msgUnReadTypes.isEmpty) {
|
||||
msgUnReadCount.value = '';
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user