damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 42a475bd720950284b80506e83f2b73bfb8cb707
parent 65c132593555a9bf811d2240a23879bf88355214
Author: Joel Klabo <joelklabo@gmail.com>
Date:   Thu, 12 Jan 2023 11:50:19 -0800

Purple Shaka icon

Changelog-Changed: Make Shaka button purple when liked

Diffstat:
Mdamus/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 @@ -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) } } }