mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-02 20:26:47 +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
|
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…
x
Reference in New Issue
Block a user