mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-04 06:11:12 +00:00
fix: isInstalled
close: https://github.com/StarCitizenToolBox/app/issues/191
This commit is contained in:
parent
f812bf9890
commit
68f42060ff
@ -178,7 +178,7 @@ class LocalizationDialogUI extends HookConsumerWidget {
|
||||
) {
|
||||
final isWorking = state.workingVersion.isNotEmpty;
|
||||
final isMineWorking = state.workingVersion == item.key;
|
||||
final isInstalled = state.patchStatus?.value == item.key;
|
||||
final isInstalled = state.patchStatus?.value == item.key || state.patchStatus?.value == item.value.versionName;
|
||||
final isItemEnabled = ((item.value.enable ?? false));
|
||||
final tapDisabled = isInstalled || isWorking || !isItemEnabled || isMineWorking;
|
||||
return GridItemAnimator(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user