|
@@ -286,7 +286,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
@@ -286,7 +286,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
286
|
}
|
286
|
}
|
|
287
|
if (widget.initialIndex == 0 ||
|
287
|
if (widget.initialIndex == 0 ||
|
|
288
|
widget.initialIndex == 1 && needRefreshTemp == false) return;
|
288
|
widget.initialIndex == 1 && needRefreshTemp == false) return;
|
|
289
|
- _initNotification();
|
289
|
+ // _initNotification();
|
|
290
|
Future.delayed(Duration(minutes: 3), () {
|
290
|
Future.delayed(Duration(minutes: 3), () {
|
|
291
|
//30000
|
291
|
//30000
|
|
292
|
// ContactModel.getInstance().uploadLocalContact(context);
|
292
|
// ContactModel.getInstance().uploadLocalContact(context);
|
|
@@ -316,6 +316,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
@@ -316,6 +316,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
316
|
|
316
|
|
|
317
|
getSellerVersion() async {
|
317
|
getSellerVersion() async {
|
|
318
|
await collectStoreProvider.getSellerVersion(context,showLoading: false);
|
318
|
await collectStoreProvider.getSellerVersion(context,showLoading: false);
|
|
|
|
319
|
+
|
|
319
|
if (Constant.normalApp) {
|
320
|
if (Constant.normalApp) {
|
|
320
|
_version();
|
321
|
_version();
|
|
321
|
} else {
|
322
|
} else {
|
|
@@ -328,6 +329,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
@@ -328,6 +329,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { |
|
328
|
_version();
|
329
|
_version();
|
|
329
|
}
|
330
|
}
|
|
330
|
}
|
331
|
}
|
|
|
|
332
|
+ if (widget.initialIndex == 0 ||
|
|
|
|
333
|
+ widget.initialIndex == 1 && needRefreshTemp == false) return;
|
|
|
|
334
|
+ _initNotification();
|
|
331
|
}
|
335
|
}
|
|
332
|
|
336
|
|
|
333
|
_version() {
|
337
|
_version() {
|