Adopt the new start chat button design. (#4013)

* Update compound and handle plain to tertiary/textLink button style updates.

* Update the start chat button to use the right icon/style.

* Update preview snapshots.

* Fix remaining snapshots.
This commit is contained in:
Doug
2025-04-11 17:09:57 +01:00
committed by GitHub
parent 511c4d7bf7
commit a5d94a0219
176 changed files with 385 additions and 363 deletions
@@ -81,7 +81,7 @@ struct SessionVerificationScreen: View {
Button(L10n.actionLearnMore) {
UIApplication.shared.open(context.viewState.learnMoreURL)
}
.buttonStyle(.compound(.plain))
.buttonStyle(.compound(.tertiary, size: .small))
default:
EmptyView()
}
@@ -132,7 +132,7 @@ struct SessionVerificationScreen: View {
Button(L10n.actionIgnore) {
context.send(viewAction: .ignoreVerificationRequest)
}
.buttonStyle(.compound(.plain))
.buttonStyle(.compound(.tertiary))
.accessibilityIdentifier(A11yIdentifiers.sessionVerificationScreen.ignoreVerificationRequest)
}
}
@@ -158,7 +158,7 @@ struct SessionVerificationScreen: View {
.accessibilityIdentifier(A11yIdentifiers.sessionVerificationScreen.startSasVerification)
case .showingChallenge:
VStack(spacing: 32) {
VStack(spacing: 16) {
Button(L10n.screenSessionVerificationTheyMatch) {
context.send(viewAction: .accept)
}
@@ -168,7 +168,7 @@ struct SessionVerificationScreen: View {
Button(L10n.screenSessionVerificationTheyDontMatch) {
context.send(viewAction: .decline)
}
.buttonStyle(.compound(.plain))
.buttonStyle(.compound(.tertiary))
.accessibilityIdentifier(A11yIdentifiers.sessionVerificationScreen.declineChallenge)
}