commit 500845f6192a6ebc28c301e2992f458a89d15a1a parent 977ae29949ca98fb6d898a0ee707a2eebc569bbc Author: William Casarin <jb55@jb55.com> Date: Sat, 31 Dec 2022 18:32:59 -0800 likes: make the default like emoji more muted Diffstat:
M | damus/Views/EventActionBar.swift | | | 12 | +++++++----- |
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/damus/Views/EventActionBar.swift b/damus/Views/EventActionBar.swift @@ -151,13 +151,15 @@ struct LikeButton: View { @Environment(\.colorScheme) var colorScheme - var default_emoji: String { - return colorScheme == .dark ? "🤙🏿" : "🤙🏻" - } - var body: some View { Button(action: action) { - Text(liked ? "🤙" : default_emoji) + if liked { + Text("🤙") + } else { + Label(" ", systemImage: "hand.thumbsup") + .font(.footnote.weight(.medium)) + .foregroundColor(Color.gray) + } } } }