Change wording to "Verify identity"

This commit is contained in:
Benoit Marty 2024-10-29 21:49:08 +01:00
parent 666cedd66e
commit 2fd4d86d01
2 changed files with 2 additions and 1 deletions

View file

@ -106,7 +106,7 @@ fun UserProfileView(
private fun VerifyUserSection(state: UserProfileState) {
if (state.isVerified.dataOrNull() == false) {
ListItem(
headlineContent = { Text(stringResource(R.string.screen_room_member_details_verify_button_title, state.userName ?: state.userId)) },
headlineContent = { Text(stringResource(CommonStrings.common_verify_identity)) },
supportingContent = { Text(stringResource(R.string.screen_room_member_details_verify_button_subtitle)) },
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Lock())),
enabled = false,

View file

@ -254,6 +254,7 @@ Reason: %1$s."</string>
<string name="common_verification_failed">"Verification failed"</string>
<string name="common_verified">"Verified"</string>
<string name="common_verify_device">"Verify device"</string>
<string name="common_verify_identity">"Verify identity"</string>
<string name="common_video">"Video"</string>
<string name="common_voice_message">"Voice message"</string>
<string name="common_waiting">"Waiting…"</string>