mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fix bug when changing display name twice
And delete the static summary
This commit is contained in:
parent
7b3fa501c6
commit
674fa0e5ce
2 changed files with 1 additions and 1 deletions
|
@ -869,6 +869,7 @@ class VectorSettingsGeneralFragment : VectorSettingsBaseFragment() {
|
||||||
if (!isAdded) return
|
if (!isAdded) return
|
||||||
// refresh the settings value
|
// refresh the settings value
|
||||||
mDisplayNamePreference.summary = value
|
mDisplayNamePreference.summary = value
|
||||||
|
mDisplayNamePreference.text = value
|
||||||
onCommonDone(null)
|
onCommonDone(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
<im.vector.riotx.core.preference.VectorEditTextPreference
|
<im.vector.riotx.core.preference.VectorEditTextPreference
|
||||||
android:key="SETTINGS_DISPLAY_NAME_PREFERENCE_KEY"
|
android:key="SETTINGS_DISPLAY_NAME_PREFERENCE_KEY"
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:summary="@string/settings_display_name"
|
|
||||||
android:title="@string/settings_display_name" />
|
android:title="@string/settings_display_name" />
|
||||||
|
|
||||||
<im.vector.riotx.core.preference.VectorPreference
|
<im.vector.riotx.core.preference.VectorPreference
|
||||||
|
|
Loading…
Reference in a new issue