mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-23 17:39:42 +02: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