Returned string references to the original name

This commit is contained in:
Henry Jackson 2022-05-04 16:38:12 +01:00
parent 7a8565db5d
commit 5ebc70e4bb
2 changed files with 2 additions and 2 deletions

View file

@ -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() }

View file

@ -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()