BG update toggle has an effect

This commit is contained in:
Imran Remtulla
2023-08-22 19:57:42 -04:00
parent 5307fd0901
commit 6785708661
4 changed files with 23 additions and 16 deletions

View File

@@ -339,7 +339,8 @@ class _AppPageState extends State<AppPage> {
HapticFeedback.heavyImpact();
var res = await appsProvider.downloadAndInstallLatestApps(
app?.app.id != null ? [app!.app.id] : [],
globalNavigatorKey.currentContext);
globalNavigatorKey.currentContext,
settingsProvider);
if (res.isNotEmpty && mounted) {
Navigator.of(context).pop();
}