diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt b/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt
index 64a455047..850f2a552 100644
--- a/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt
+++ b/app/src/main/java/com/topjohnwu/magisk/ui/home/HomeViewModel.kt
@@ -43,18 +43,18 @@ class HomeViewModel(
val stateManager = KObservableField(MagiskState.LOADING)
val stateTextMagisk = Observer(stateMagisk) {
when (stateMagisk.value) {
- MagiskState.NOT_INSTALLED -> R.string.installed_error_md2.res()
- MagiskState.UP_TO_DATE -> R.string.up_to_date_md2.res()
- MagiskState.LOADING -> R.string.loading_md2.res()
- MagiskState.OBSOLETE -> R.string.obsolete_md2.res()
+ MagiskState.NOT_INSTALLED -> R.string.installed_error.res()
+ MagiskState.UP_TO_DATE -> R.string.up_to_date.res()
+ MagiskState.LOADING -> R.string.loading.res()
+ MagiskState.OBSOLETE -> R.string.obsolete.res()
}
}
val stateTextManager = Observer(stateManager) {
when (stateManager.value) {
- MagiskState.NOT_INSTALLED -> R.string.channel_error_md2.res()
- MagiskState.UP_TO_DATE -> R.string.up_to_date_md2.res()
- MagiskState.LOADING -> R.string.loading_md2.res()
- MagiskState.OBSOLETE -> R.string.obsolete_md2.res()
+ MagiskState.NOT_INSTALLED -> R.string.channel_error.res()
+ MagiskState.UP_TO_DATE -> R.string.up_to_date.res()
+ MagiskState.LOADING -> R.string.loading.res()
+ MagiskState.OBSOLETE -> R.string.obsolete.res()
}
}
val statePackageManager = packageName
diff --git a/app/src/main/res/layout/fragment_home_md2.xml b/app/src/main/res/layout/fragment_home_md2.xml
index 28c74fd38..fb9d29e14 100644
--- a/app/src/main/res/layout/fragment_home_md2.xml
+++ b/app/src/main/res/layout/fragment_home_md2.xml
@@ -354,7 +354,7 @@
app:layout_constraintEnd_toEndOf="@+id/home_magisk_title"
app:layout_constraintStart_toStartOf="@+id/home_magisk_title"
app:layout_constraintTop_toBottomOf="@+id/home_magisk_title"
- tools:text="@string/up_to_date_md2" />
+ tools:text="@string/up_to_date" />
+ tools:text="@string/obsolete" />
No connection available
- is not installed
- has invalid update channel!
- is up to date
- can be updated!
- is loading…
+ is not installed
+ has invalid update channel!
+ is up to date
+ can be updated!
+ is loading…
Always make sure you\'re using open-source Magisk Manager. Manager of unknown source can perform malicious actions.
Hide
Changelog