Only ask for install perm. for non-track-only apps

This commit is contained in:
Imran Remtulla
2022-11-25 19:07:05 -05:00
parent d29534ef2e
commit 42475fa42a
4 changed files with 31 additions and 19 deletions

View File

@@ -428,8 +428,13 @@ class AppsPageState extends State<AppsPage> {
findGeneratedFormValueByKey(formInputs,
values, 'trackonlies') ==
'true';
settingsProvider
.getInstallPermission()
(() async {
if (shouldInstallNew ||
shouldInstallUpdates) {
await settingsProvider
.getInstallPermission();
}
})()
.then((_) {
List<String> toInstall = [];
if (shouldInstallUpdates) {