likes: make the default like emoji more muted

This commit is contained in:
William Casarin
2022-12-31 18:32:59 -08:00
parent 977ae29949
commit 500845f619

View File

@@ -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)
}
}
}
}