From 42a475bd720950284b80506e83f2b73bfb8cb707 Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Thu, 12 Jan 2023 11:50:19 -0800 Subject: [PATCH] Purple Shaka icon Changelog-Changed: Make Shaka button purple when liked --- damus/Views/ActionBar/EventActionBar.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift index 74fbf8fe..bab5477c 100644 --- a/damus/Views/ActionBar/EventActionBar.swift +++ b/damus/Views/ActionBar/EventActionBar.swift @@ -64,7 +64,7 @@ struct EventActionBar: View { Text("\(bar.likes > 0 ? "\(bar.likes)" : "")") .offset(x: 22) .font(.footnote.weight(.medium)) - .foregroundColor(bar.liked ? Color.orange : Color.gray) + .foregroundColor(bar.liked ? Color.accentColor : Color.gray) } } .frame(minWidth: 0, maxWidth: .infinity, alignment: .leading) @@ -164,7 +164,7 @@ struct LikeButton: View { var body: some View { Button(action: action) { Image(liked ? "shaka-full" : "shaka-line") - .foregroundColor(liked ? .orange : .gray) + .foregroundColor(liked ? .accentColor : .gray) } } }