fix: use correct variable name for armv7 check

This commit is contained in:
Ushie 2023-06-09 11:40:54 +03:00
parent 810b02d9fd
commit 7f7b14bae3

View file

@ -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));
});