Commit a79ccf168daf120d0667fd8f6d5b95e575763ae7

Authored by wdn127929
1 parent e9897648

自动更新bug

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -88,7 +88,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
_getIntent();
Future.delayed(Duration(milliseconds: 30000), () {
ContactModel.getInstance().uploadLocalContact(context);
UpdateModel updateModel = Provider.of<UpdateModel>(context);
UpdateModel updateModel = new UpdateModel();
updateModel.checkUpdate(context, showToast: false);
});
timer = Timer.periodic(Duration(minutes: 3), (_) {
... ...