diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 894967e..f8ee0e4 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -643,15 +643,15 @@ class AppsPageState extends State { label: tr('installX', args: [ plural('apps', newInstallIdsAllOrSelected.length) ]), - defaultValue: existingUpdateIdsAllOrSelected.isNotEmpty)); + defaultValue: existingUpdateIdsAllOrSelected.isEmpty)); } if (trackOnlyUpdateIdsAllOrSelected.isNotEmpty) { formItems.add(GeneratedFormSwitch('trackonlies', label: tr('markXTrackOnlyAsUpdated', args: [ plural('apps', trackOnlyUpdateIdsAllOrSelected.length) ]), - defaultValue: existingUpdateIdsAllOrSelected.isNotEmpty || - newInstallIdsAllOrSelected.isNotEmpty)); + defaultValue: existingUpdateIdsAllOrSelected.isEmpty && + newInstallIdsAllOrSelected.isEmpty)); } showDialog?>( context: context,