Fix save button visibility
This commit is contained in:
parent
b5e85a6d5b
commit
425b100668
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class ProxySettingsDialogFragment : BaseDialogFragment() {
|
|||
selectedProxyType = proxyTypeTag
|
||||
updateSelectedProxyType()
|
||||
updateEditingMode()
|
||||
updateSaveButtonVisibility(true)
|
||||
updateSaveButtonVisibility(selectedProxyType != settings.currentProxyPref.type && portEditText.text.isNotEmpty() && serverEditText.text.isNotEmpty())
|
||||
}
|
||||
this.tag = proxyTypeTag
|
||||
container.addView(this)
|
||||
|
|
Loading…
Reference in a new issue