mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +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(
|
||||
id = "overrideColor",
|
||||
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,
|
||||
divider = !state.isMine,
|
||||
action = { callback?.onOverrideColorClicked() }
|
||||
|
|
|
@ -345,7 +345,7 @@ class RoomMemberProfileFragment @Inject constructor(
|
|||
views.editText.hint = "#000000"
|
||||
|
||||
MaterialAlertDialogBuilder(requireContext())
|
||||
.setTitle(R.string.room_member_override_display_name_colour)
|
||||
.setTitle(R.string.room_member_override_nick_color)
|
||||
.setView(layout)
|
||||
.setPositiveButton(R.string.ok) { _, _ ->
|
||||
val newColor = views.editText.text.toString()
|
||||
|
|
Loading…
Reference in a new issue