mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix for disable account option in settings
This commit is contained in:
parent
1a0b9877e1
commit
476d14786c
1 changed files with 2 additions and 1 deletions
|
|
@ -131,7 +131,8 @@ public class AccountPreferencesFragment extends PreferencesListFragment {
|
|||
OnPreferenceChangeListener disableChangedListener = new OnPreferenceChangeListener() {
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||
mPrefs.setAccountEnabled(n, (Boolean) newValue);
|
||||
boolean value = (Boolean) newValue;
|
||||
mPrefs.setAccountEnabled(n, !value);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue