Show url dialog only if necessary
This commit is contained in:
parent
e4bcdbd0c4
commit
cf161a5dd9
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user