Skip to content

Commit

Permalink
fix: use correct variable name for armv7 check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Jun 9, 2023
1 parent 810b02d commit 7f7b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/views/patcher/patcher_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PatcherViewModel extends BaseViewModel {

Future<void> showArmv7WarningDialog(BuildContext context) async {
final bool armv7 = await AboutInfo.getInfo().then((info) {
final List<String> archs = info['arch'];
final List<String> archs = info['supportedArch'];
final supportedAbis = ['arm64-v8a', 'x86', 'x86_64'];
return !archs.any((arch) => supportedAbis.contains(arch));
});
Expand Down

2 comments on commit 7f7b14b

@HiFIi
Copy link

@HiFIi HiFIi commented on 7f7b14b Jun 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks I was wondering why it didn't work haha

@HiFIi
Copy link

@HiFIi HiFIi commented on 7f7b14b Jun 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funny how one little piece of missing code can break stuff

Please sign in to comment.