From 4de406c276b53b9ab2f52ea8468b1088f47e12d5 Mon Sep 17 00:00:00 2001 From: Jyotidwi Date: Tue, 24 Oct 2023 17:36:07 +0530 Subject: [PATCH] change overlay --- .../java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt b/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt index 3d39da102004..9c20151bc88b 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt @@ -79,7 +79,7 @@ class SettingsViewModel : BaseViewModel(), BaseSettingsItem.Handler { // Re-authenticate is not feasible on 8.0+ list.add(Reauthenticate) } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { + if (Build.VERSION.SDK_INT >= 31) { // Can hide overlay windows on 12.0+ list.remove(Tapjack) }