Tweak EncryptionReset, IdentityConfirmation and SecureBackupRecovery screens. (#3391)
This commit is contained in:
@@ -71,13 +71,9 @@ struct EncryptionResetScreen: View {
|
||||
@ViewBuilder
|
||||
private func checkMarkItem(title: String, position: ListPosition, positive: Bool) -> some View {
|
||||
RoundedLabelItem(title: title, listPosition: position) {
|
||||
if positive {
|
||||
CompoundIcon(\.check)
|
||||
.foregroundColor(.compound.iconAccentPrimary)
|
||||
} else {
|
||||
CompoundIcon(\.close)
|
||||
.foregroundColor(.compound.iconCriticalPrimary)
|
||||
}
|
||||
CompoundIcon(positive ? \.check : \.info)
|
||||
.foregroundColor(positive ? .compound.iconAccentPrimary : .compound.iconSecondary)
|
||||
.alignmentGuide(.top) { _ in 2 }
|
||||
}
|
||||
.backgroundStyle(.compound.bgCanvasDefault)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user