Allow reposting and quote reposting multiple times

Changelog-Changed: Allow reposting and quote reposting multiple times
This commit is contained in:
William Casarin
2023-07-11 12:22:04 -07:00
parent d2374aa6ec
commit 828e417726

View File

@@ -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)" : "")")