commit 782f8d6a69060a64d83044f5e5a0246656aa3efd
parent 9ad6af0e4ff78bfa8e6def7690924870367a0d18
Author: William Casarin <jb55@jb55.com>
Date: Fri, 7 Apr 2023 10:49:33 -0700
Change reply color from blue to purple. Blue is banned from Damus.
Changelog-Changed: Change reply color from blue to purple. Blue is banned from Damus.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift
@@ -48,13 +48,13 @@ struct EventActionBar: View {
HStack {
if damus_state.keypair.privkey != nil {
HStack(spacing: 4) {
- EventActionButton(img: "bubble.left", col: bar.replied ? Color.blue : Color.gray) {
+ EventActionButton(img: "bubble.left", col: bar.replied ? DamusColors.purple : Color.gray) {
notify(.reply, event)
}
.accessibilityLabel(NSLocalizedString("Reply", comment: "Accessibility label for reply button"))
Text(verbatim: "\(bar.replies > 0 ? "\(bar.replies)" : "")")
.font(.footnote.weight(.medium))
- .foregroundColor(bar.replied ? Color.blue : Color.gray)
+ .foregroundColor(bar.replied ? DamusColors.purple : Color.gray)
}
}
Spacer()