mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Update verify identity button title. (#3466)
This commit is contained in:
@@ -32,10 +32,6 @@ struct UserProfileScreenViewState: BindableState {
|
||||
var showVerificationSection: Bool {
|
||||
isVerified == false && !isOwnUser
|
||||
}
|
||||
|
||||
var verifyButtonTitle: String {
|
||||
L10n.screenRoomMemberDetailsVerifyButtonTitle(userProfile?.displayName ?? "")
|
||||
}
|
||||
}
|
||||
|
||||
struct UserProfileScreenViewStateBindings {
|
||||
|
||||
@@ -83,7 +83,7 @@ struct UserProfileScreen: View {
|
||||
var verificationSection: some View {
|
||||
if context.viewState.showVerificationSection {
|
||||
Section {
|
||||
ListRow(label: .default(title: context.viewState.verifyButtonTitle,
|
||||
ListRow(label: .default(title: L10n.commonVerifyIdentity,
|
||||
description: L10n.screenRoomMemberDetailsVerifyButtonSubtitle,
|
||||
icon: \.lock),
|
||||
kind: .button { })
|
||||
|
||||
Reference in New Issue
Block a user