mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +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 {
|
Future queryUnreadMsg() async {
|
||||||
if (isLogin.value.not || homeIndex == -1) {
|
if (isLogin.value.not || homeIndex == -1 || msgUnReadTypes.isEmpty) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (msgUnReadTypes.isEmpty) {
|
|
||||||
msgUnReadCount.value = '';
|
msgUnReadCount.value = '';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user