Showing
1 changed file
with
6 additions
and
6 deletions
| @@ -562,12 +562,12 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | @@ -562,12 +562,12 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { | ||
| 562 | super.didChangeAppLifecycleState(state); | 562 | super.didChangeAppLifecycleState(state); |
| 563 | switch (state) { | 563 | switch (state) { |
| 564 | case AppLifecycleState.resumed: //应用前台可见 | 564 | case AppLifecycleState.resumed: //应用前台可见 |
| 565 | - if (widget.initialIndex == 1 && needRefreshTemp == false) { | ||
| 566 | - } else { | ||
| 567 | - _clearBadge(() { | ||
| 568 | - _getAllUnMessages(); | ||
| 569 | - }); | ||
| 570 | - } | 565 | + // if (widget.initialIndex == 1 && needRefreshTemp == false) { |
| 566 | + // } else { | ||
| 567 | + // _clearBadge(() { | ||
| 568 | + // _getAllUnMessages(); | ||
| 569 | + // }); | ||
| 570 | + // } | ||
| 571 | 571 | ||
| 572 | break; | 572 | break; |
| 573 | case AppLifecycleState.inactive: | 573 | case AppLifecycleState.inactive: |
-
Please register or login to post a comment