Change reply color from red to blue

This commit is contained in:
William Casarin
2023-04-05 11:15:19 -07:00
parent b585e8c21c
commit 185732a633

View File

@@ -48,13 +48,13 @@ struct EventActionBar: View {
HStack { HStack {
if damus_state.keypair.privkey != nil { if damus_state.keypair.privkey != nil {
HStack(spacing: 4) { HStack(spacing: 4) {
EventActionButton(img: "bubble.left", col: bar.replied ? Color.pink : Color.gray) { EventActionButton(img: "bubble.left", col: bar.replied ? Color.blue : Color.gray) {
notify(.reply, event) notify(.reply, event)
} }
.accessibilityLabel(NSLocalizedString("Reply", comment: "Accessibility label for reply button")) .accessibilityLabel(NSLocalizedString("Reply", comment: "Accessibility label for reply button"))
Text(verbatim: "\(bar.replies > 0 ? "\(bar.replies)" : "")") Text(verbatim: "\(bar.replies > 0 ? "\(bar.replies)" : "")")
.font(.footnote.weight(.medium)) .font(.footnote.weight(.medium))
.foregroundColor(bar.replied ? Color.pink : Color.gray) .foregroundColor(bar.replied ? Color.blue : Color.gray)
} }
} }
Spacer() Spacer()