Allow reposting and quote reposting multiple times
Changelog-Changed: Allow reposting and quote reposting multiple times
This commit is contained in:
@@ -56,11 +56,7 @@ struct EventActionBar: View {
|
|||||||
HStack(spacing: 4) {
|
HStack(spacing: 4) {
|
||||||
|
|
||||||
EventActionButton(img: "repost", col: bar.boosted ? Color.green : nil) {
|
EventActionButton(img: "repost", col: bar.boosted ? Color.green : nil) {
|
||||||
if bar.boosted {
|
self.show_repost_action = true
|
||||||
notify(.delete, bar.our_boost)
|
|
||||||
} else {
|
|
||||||
self.show_repost_action = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.accessibilityLabel(NSLocalizedString("Reposts", comment: "Accessibility label for boosts button"))
|
.accessibilityLabel(NSLocalizedString("Reposts", comment: "Accessibility label for boosts button"))
|
||||||
Text(verbatim: "\(bar.boosts > 0 ? "\(bar.boosts)" : "")")
|
Text(verbatim: "\(bar.boosts > 0 ? "\(bar.boosts)" : "")")
|
||||||
|
|||||||
Reference in New Issue
Block a user