mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Returned string references to the original name
This commit is contained in:
parent
7a8565db5d
commit
5ebc70e4bb
2 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ class RoomMemberProfileController @Inject constructor(
|
||||||
buildProfileAction(
|
buildProfileAction(
|
||||||
id = "overrideColor",
|
id = "overrideColor",
|
||||||
editable = false,
|
editable = false,
|
||||||
title = stringProvider.getString(R.string.room_member_override_display_name_colour),
|
title = stringProvider.getString(R.string.room_member_override_nick_color),
|
||||||
subtitle = state.userColorOverride,
|
subtitle = state.userColorOverride,
|
||||||
divider = !state.isMine,
|
divider = !state.isMine,
|
||||||
action = { callback?.onOverrideColorClicked() }
|
action = { callback?.onOverrideColorClicked() }
|
||||||
|
|
|
@ -345,7 +345,7 @@ class RoomMemberProfileFragment @Inject constructor(
|
||||||
views.editText.hint = "#000000"
|
views.editText.hint = "#000000"
|
||||||
|
|
||||||
MaterialAlertDialogBuilder(requireContext())
|
MaterialAlertDialogBuilder(requireContext())
|
||||||
.setTitle(R.string.room_member_override_display_name_colour)
|
.setTitle(R.string.room_member_override_nick_color)
|
||||||
.setView(layout)
|
.setView(layout)
|
||||||
.setPositiveButton(R.string.ok) { _, _ ->
|
.setPositiveButton(R.string.ok) { _, _ ->
|
||||||
val newColor = views.editText.text.toString()
|
val newColor = views.editText.text.toString()
|
||||||
|
|
Loading…
Reference in a new issue