damus

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

commit ba844aec979fc6aaacfa8da6f63a78495e697ad2
parent bbfe5380e0f3addaaa1c5bd5db1928bc8a80dea2
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 21 Apr 2023 09:43:18 -0700

Enable like button on OnlyZaps profiles for people who don't have OnlyZaps mode on

It seems like people still want to like posts even if the receiver isn't
going to see it.

Changelog-Changed: Enable like button on OnlyZaps profiles for people who don't have OnlyZaps mode on

Diffstat:
Mdamus/Views/ActionBar/EventActionBar.swift | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift @@ -51,11 +51,7 @@ struct EventActionBar: View { return false } - guard let profile = damus_state.profiles.lookup(id: event.pubkey) else { - return true - } - - return profile.reactions ?? true + return true } var body: some View {