mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-24 03:13:45 +02:00
Fix default multi-"app change" selection bug
This commit is contained in:
@@ -643,15 +643,15 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
label: tr('installX', args: [
|
label: tr('installX', args: [
|
||||||
plural('apps', newInstallIdsAllOrSelected.length)
|
plural('apps', newInstallIdsAllOrSelected.length)
|
||||||
]),
|
]),
|
||||||
defaultValue: existingUpdateIdsAllOrSelected.isNotEmpty));
|
defaultValue: existingUpdateIdsAllOrSelected.isEmpty));
|
||||||
}
|
}
|
||||||
if (trackOnlyUpdateIdsAllOrSelected.isNotEmpty) {
|
if (trackOnlyUpdateIdsAllOrSelected.isNotEmpty) {
|
||||||
formItems.add(GeneratedFormSwitch('trackonlies',
|
formItems.add(GeneratedFormSwitch('trackonlies',
|
||||||
label: tr('markXTrackOnlyAsUpdated', args: [
|
label: tr('markXTrackOnlyAsUpdated', args: [
|
||||||
plural('apps', trackOnlyUpdateIdsAllOrSelected.length)
|
plural('apps', trackOnlyUpdateIdsAllOrSelected.length)
|
||||||
]),
|
]),
|
||||||
defaultValue: existingUpdateIdsAllOrSelected.isNotEmpty ||
|
defaultValue: existingUpdateIdsAllOrSelected.isEmpty &&
|
||||||
newInstallIdsAllOrSelected.isNotEmpty));
|
newInstallIdsAllOrSelected.isEmpty));
|
||||||
}
|
}
|
||||||
showDialog<Map<String, dynamic>?>(
|
showDialog<Map<String, dynamic>?>(
|
||||||
context: context,
|
context: context,
|
||||||
|
|||||||
Reference in New Issue
Block a user