Only show EventDetailBar if we have tips/likes/reposts

This commit is contained in:
William Casarin
2023-01-13 10:07:27 -08:00
parent abd5856f21
commit d59331bc3c
3 changed files with 25 additions and 12 deletions

View File

@@ -252,7 +252,7 @@ struct EventView: View {
let bar = make_actionbar_model(ev: event, damus: damus)
if size == .selected {
if size == .selected && !bar.is_empty {
EventDetailBar(state: damus, target: event.id, bar: bar)
Divider()
.padding([.bottom], 4)