From b089d928e1a0247ca832a9f6f6d223044f9aeae7 Mon Sep 17 00:00:00 2001 From: Matthew Fosse <matt@fosse.co> Date: Fri, 10 Jan 2025 17:52:30 -0800 Subject: [PATCH] cleanup --- lib/src/screens/root/root.dart | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/src/screens/root/root.dart b/lib/src/screens/root/root.dart index 18892ae02..9de133543 100644 --- a/lib/src/screens/root/root.dart +++ b/lib/src/screens/root/root.dart @@ -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;