damus

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

commit 828e4177267bc2b7e7fcb9491b8f1907fcb0c6d4
parent d2374aa6ec017096e387129fc37a88431451682f
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 11 Jul 2023 12:22:04 -0700

Allow reposting and quote reposting multiple times

Changelog-Changed: Allow reposting and quote reposting multiple times

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 @@ -56,11 +56,7 @@ struct EventActionBar: View { HStack(spacing: 4) { EventActionButton(img: "repost", col: bar.boosted ? Color.green : nil) { - if bar.boosted { - notify(.delete, bar.our_boost) - } else { - self.show_repost_action = true - } + self.show_repost_action = true } .accessibilityLabel(NSLocalizedString("Reposts", comment: "Accessibility label for boosts button")) Text(verbatim: "\(bar.boosts > 0 ? "\(bar.boosts)" : "")")