mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-23 01:18:30 +00:00
Fixed disable account issue not being applied until accounts settings are left & re-entered
This commit is contained in:
parent
59a441fe13
commit
4352b9f742
1 changed files with 2 additions and 0 deletions
|
|
@ -126,7 +126,9 @@ class AccountSettingsViewModel(val proxyConfig: ProxyConfig) : GenericSettingsVi
|
||||||
|
|
||||||
val disableListener = object : SettingListenerStub() {
|
val disableListener = object : SettingListenerStub() {
|
||||||
override fun onBoolValueChanged(newValue: Boolean) {
|
override fun onBoolValueChanged(newValue: Boolean) {
|
||||||
|
proxyConfig.edit()
|
||||||
proxyConfig.enableRegister(!newValue)
|
proxyConfig.enableRegister(!newValue)
|
||||||
|
proxyConfig.done()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val disable = MutableLiveData<Boolean>()
|
val disable = MutableLiveData<Boolean>()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue