mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-01 07:26:01 +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:
|
||||
await wallet?.stopSync();
|
||||
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;
|
||||
}
|
||||
_previousState = state;
|
||||
|
|
Loading…
Reference in a new issue