Fix app compilation

This commit is contained in:
topjohnwu
2025-07-01 23:46:56 -07:00
committed by John Wu
parent e5d36d1d24
commit d4b83b6a44
3 changed files with 7 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ class SettingsViewModel : BaseViewModel(), BaseSettingsItem.Handler {
// Can hide overlay windows on 12.0+
list.remove(Tapjack)
}
if (Const.Version.isCanary()) {
if (Const.Version.atLeast_30_1()) {
list.add(Restrict)
}
}