mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-20 06:48:29 +00:00
Allow offline restore app
This commit is contained in:
parent
4950020635
commit
8bb2f356c0
@ -108,9 +108,6 @@ object Hide : BaseSettingsItem.Input() {
|
|||||||
object Restore : BaseSettingsItem.Blank() {
|
object Restore : BaseSettingsItem.Blank() {
|
||||||
override val title = R.string.settings_restore_app_title.asTransitive()
|
override val title = R.string.settings_restore_app_title.asTransitive()
|
||||||
override val description = R.string.settings_restore_app_summary.asTransitive()
|
override val description = R.string.settings_restore_app_summary.asTransitive()
|
||||||
override fun refresh() {
|
|
||||||
isEnabled = Info.remote.magisk.versionCode > 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
object AddShortcut : BaseSettingsItem.Blank() {
|
object AddShortcut : BaseSettingsItem.Blank() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user