Addresses #76 and #93

This commit is contained in:
Imran Remtulla
2022-11-04 18:53:25 -04:00
parent 76e98feeb7
commit c9711c7734
3 changed files with 6 additions and 6 deletions

View File

@@ -362,10 +362,8 @@ class AppsPageState extends State<AppsPage> {
);
}).then((values) {
if (values != null) {
bool shouldInstallUpdates =
values.isEmpty || values[0] == 'true';
bool shouldInstallNew = values.isEmpty ||
(values.length >= 2 && values[1] == 'true');
bool shouldInstallUpdates = values[0] == 'true';
bool shouldInstallNew = values[1] == 'true';
settingsProvider
.getInstallPermission()
.then((_) {