mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Improve load speed on return to foreground
This commit is contained in:
		| @@ -360,7 +360,7 @@ class AppsProvider with ChangeNotifier { | ||||
|     foregroundStream = FGBGEvents.stream.asBroadcastStream(); | ||||
|     foregroundSubscription = foregroundStream?.listen((event) async { | ||||
|       isForeground = event == FGBGType.foreground; | ||||
|       if (isForeground) await loadApps(); | ||||
|       if (isForeground) loadApps(); | ||||
|     }); | ||||
|     () async { | ||||
|       await settingsProvider.initializeSettings(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user