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
@@ -58,8 +58,11 @@ struct RoomScreenFooterView: View {
.foregroundColor(.compound.textPrimary)
}
Button(L10n.actionDismiss) {
Button {
callback(.resolvePinViolation(userID: member.userID))
} label: {
Text(L10n.actionDismiss)
.frame(maxWidth: .infinity)
}
.buttonStyle(.compound(.primary, size: .medium))
}
@@ -85,8 +88,11 @@ struct RoomScreenFooterView: View {
.foregroundColor(.compound.textCriticalPrimary)
}
Button(L10n.cryptoIdentityChangeWithdrawVerificationAction) {
Button {
callback(.resolveVerificationViolation(userID: member.userID))
} label: {
Text(L10n.cryptoIdentityChangeWithdrawVerificationAction)
.frame(maxWidth: .infinity)
}
.buttonStyle(.compound(.primary, size: .medium))
}