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 805e04089..68bf24abb 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 @@ -110,7 +110,7 @@ class SettingsViewModel( private fun openUrlIfNecessary(view: View) { UpdateChannelUrl.refresh() - if (UpdateChannelUrl.value.isBlank()) { + if (UpdateChannelUrl.isEnabled && UpdateChannelUrl.value.isBlank()) { UpdateChannelUrl.onPressed(view, this@SettingsViewModel) } }