mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-06 16:54:38 +00:00
cleanup
This commit is contained in:
parent
840c15173d
commit
b089d928e1
1 changed files with 0 additions and 10 deletions
|
@ -192,16 +192,6 @@ class RootState extends State<Root> with WidgetsBindingObserver {
|
||||||
case AppLifecycleState.paused:
|
case AppLifecycleState.paused:
|
||||||
await wallet?.stopSync();
|
await wallet?.stopSync();
|
||||||
await wallet?.close();
|
await wallet?.close();
|
||||||
// getIt.get<BackgroundTasks>().serviceReady();
|
|
||||||
// // if (FeatureFlag.isBackgroundSyncEnabled &&
|
|
||||||
// // syncingWalletTypes.contains(widget.appStore.wallet?.type)) {
|
|
||||||
// // widget.appStore.wallet?.stopSync();
|
|
||||||
// // }
|
|
||||||
// _stateTimer?.cancel();
|
|
||||||
// _stateTimer = Timer(const Duration(seconds: 10), () async {
|
|
||||||
// wasInBackground = true;
|
|
||||||
// getIt.get<BackgroundTasks>().serviceBackground();
|
|
||||||
// });
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_previousState = state;
|
_previousState = state;
|
||||||
|
|
Loading…
Reference in a new issue