mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: check unread
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -64,7 +64,7 @@ class _MainAppState extends State<MainApp>
|
|||||||
void didPopNext() {
|
void didPopNext() {
|
||||||
_mainController.checkUnreadDynamic();
|
_mainController.checkUnreadDynamic();
|
||||||
_checkDefaultSearch(true);
|
_checkDefaultSearch(true);
|
||||||
_checkUnread(true);
|
_checkUnread(context.orientation == Orientation.portrait);
|
||||||
super.didPopNext();
|
super.didPopNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ class _MainAppState extends State<MainApp>
|
|||||||
if (state == AppLifecycleState.resumed) {
|
if (state == AppLifecycleState.resumed) {
|
||||||
_mainController.checkUnreadDynamic();
|
_mainController.checkUnreadDynamic();
|
||||||
_checkDefaultSearch(true);
|
_checkDefaultSearch(true);
|
||||||
_checkUnread(true);
|
_checkUnread(context.orientation == Orientation.portrait);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user