Always use root to hide/restore app

This commit is contained in:
topjohnwu
2024-12-16 17:32:26 -08:00
committed by John Wu
parent dadba44cf9
commit 51cf196bf7
2 changed files with 14 additions and 40 deletions

View File

@@ -92,7 +92,6 @@ class SettingsViewModel : BaseViewModel(), BaseSettingsItem.Handler {
DownloadPath -> withExternalRW(doAction)
UpdateChecker -> withPostNotificationPermission(doAction)
Authentication -> AuthEvent(doAction).publish()
Hide, Restore -> withInstallPermission(doAction)
else -> doAction()
}
}