|
...
|
...
|
@@ -102,9 +102,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
|
|
UpdateModel updateModel = new UpdateModel();
|
|
|
|
updateModel.checkUpdate(context, showToast: false);
|
|
|
|
});
|
|
|
|
// timer = Timer.periodic(Duration(minutes: 3), (_) {
|
|
|
|
// _getAllUnMessages();
|
|
|
|
// });
|
|
|
|
timer = Timer.periodic(Duration(minutes: 3), (_) {
|
|
|
|
_getAllUnMessages();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|