Commit fd12cec2cdce37fa4025050b74778cc11689aa85

Authored by wdn127929
1 parent 553fcc76

合并

Showing 1 changed file with 3 additions and 3 deletions
@@ -102,9 +102,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { @@ -102,9 +102,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
102 UpdateModel updateModel = new UpdateModel(); 102 UpdateModel updateModel = new UpdateModel();
103 updateModel.checkUpdate(context, showToast: false); 103 updateModel.checkUpdate(context, showToast: false);
104 }); 104 });
105 - // timer = Timer.periodic(Duration(minutes: 3), (_) {  
106 - // _getAllUnMessages();  
107 - // }); 105 + timer = Timer.periodic(Duration(minutes: 3), (_) {
  106 + _getAllUnMessages();
  107 + });
108 }); 108 });
109 } 109 }
110 110