mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Update the strings for the device verification flow (#4553)
This commit is contained in:
+6
-1
@@ -96,7 +96,12 @@ struct SessionVerificationScreenViewState: BindableState {
|
||||
case .decliningChallenge:
|
||||
return L10n.screenSessionVerificationCompareEmojisTitle
|
||||
case .verified:
|
||||
return L10n.commonVerificationComplete
|
||||
switch flow {
|
||||
case .deviceInitiator, .deviceResponder:
|
||||
return L10n.screenSessionVerificationDeviceVerified
|
||||
case .userInitiator, .userResponder:
|
||||
return L10n.commonVerificationComplete
|
||||
}
|
||||
case .cancelling:
|
||||
return waitingTitle
|
||||
case .cancelled:
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ struct SessionVerificationScreen: View {
|
||||
.accessibilityIdentifier(A11yIdentifiers.sessionVerificationScreen.requestVerification)
|
||||
case .deviceResponder, .userResponder:
|
||||
VStack(spacing: 16) {
|
||||
Button(L10n.actionStart) {
|
||||
Button(L10n.actionStartVerification) {
|
||||
context.send(viewAction: .acceptVerificationRequest)
|
||||
}
|
||||
.buttonStyle(.compound(.primary))
|
||||
|
||||
Reference in New Issue
Block a user