mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Fix primary contact username empty
This commit is contained in:
parent
c0737a6ac0
commit
4ddf3698d0
1 changed files with 2 additions and 0 deletions
|
|
@ -943,6 +943,8 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||
String value = (String) newValue;
|
||||
if(value.equals("")) return false;
|
||||
|
||||
mPrefs.setDefaultUsername(value);
|
||||
preference.setSummary(value);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue