mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-23 07:40:20 +01:00
Fix bug when changing display name twice
And delete the static summary
This commit is contained in:
parent
7b3fa501c6
commit
674fa0e5ce
@ -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 New Issue
Block a user