Commit afbeae91d20e899c34455ad4718a534ca6fca77c

Authored by wdn127929
1 parent 8ac3e50c

fff

Showing 1 changed file with 6 additions and 6 deletions
... ... @@ -562,12 +562,12 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
super.didChangeAppLifecycleState(state);
switch (state) {
case AppLifecycleState.resumed: //应用前台可见
if (widget.initialIndex == 1 && needRefreshTemp == false) {
} else {
_clearBadge(() {
_getAllUnMessages();
});
}
// if (widget.initialIndex == 1 && needRefreshTemp == false) {
// } else {
// _clearBadge(() {
// _getAllUnMessages();
// });
// }
break;
case AppLifecycleState.inactive:
... ...