|
...
|
...
|
@@ -286,7 +286,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
if (widget.initialIndex == 0 ||
|
|
|
|
widget.initialIndex == 1 && needRefreshTemp == false) return;
|
|
|
|
_initNotification();
|
|
|
|
// _initNotification();
|
|
|
|
Future.delayed(Duration(minutes: 3), () {
|
|
|
|
//30000
|
|
|
|
// ContactModel.getInstance().uploadLocalContact(context);
|
|
...
|
...
|
@@ -316,6 +316,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
|
|
|
|
|
|
getSellerVersion() async {
|
|
|
|
await collectStoreProvider.getSellerVersion(context,showLoading: false);
|
|
|
|
|
|
|
|
if (Constant.normalApp) {
|
|
|
|
_version();
|
|
|
|
} else {
|
|
...
|
...
|
@@ -328,6 +329,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
|
|
_version();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (widget.initialIndex == 0 ||
|
|
|
|
widget.initialIndex == 1 && needRefreshTemp == false) return;
|
|
|
|
_initNotification();
|
|
|
|
}
|
|
|
|
|
|
|
|
_version() {
|
...
|
...
|
|