From 7f7b14bae31cfbebd2636feddfefa16f19ebdb48 Mon Sep 17 00:00:00 2001 From: Ushie Date: Fri, 9 Jun 2023 11:40:54 +0300 Subject: [PATCH] fix: use correct variable name for armv7 check --- lib/ui/views/patcher/patcher_viewmodel.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/views/patcher/patcher_viewmodel.dart b/lib/ui/views/patcher/patcher_viewmodel.dart index e7dffdcb5a..f828f94724 100644 --- a/lib/ui/views/patcher/patcher_viewmodel.dart +++ b/lib/ui/views/patcher/patcher_viewmodel.dart @@ -87,7 +87,7 @@ class PatcherViewModel extends BaseViewModel { Future showArmv7WarningDialog(BuildContext context) async { final bool armv7 = await AboutInfo.getInfo().then((info) { - final List archs = info['arch']; + final List archs = info['supportedArch']; final supportedAbis = ['arm64-v8a', 'x86', 'x86_64']; return !archs.any((arch) => supportedAbis.contains(arch)); });