mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +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
|
||||
// refresh the settings value
|
||||
mDisplayNamePreference.summary = value
|
||||
mDisplayNamePreference.text = value
|
||||
onCommonDone(null)
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
<im.vector.riotx.core.preference.VectorEditTextPreference
|
||||
android:key="SETTINGS_DISPLAY_NAME_PREFERENCE_KEY"
|
||||
android:persistent="false"
|
||||
android:summary="@string/settings_display_name"
|
||||
android:title="@string/settings_display_name" />
|
||||
|
||||
<im.vector.riotx.core.preference.VectorPreference
|
||||
|
|
Loading…
Reference in a new issue