mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
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:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user