commit 3e4914462b4dfa28b738bee5da6acb90fa001363
parent 7a11433a98bbe7545096372713f23e58bd942a4d
Author: William Casarin <jb55@jb55.com>
Date: Sun, 22 Jan 2023 10:37:33 -0800
EventDetailBar disappeared. Let's fix that before (8)
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/damus/Views/EventView.swift b/damus/Views/EventView.swift
@@ -263,7 +263,14 @@ struct EventView: View {
}
let bar = make_actionbar_model(ev: event, damus: damus)
+
+ if size == .selected && !bar.is_empty {
+ EventDetailBar(state: damus, target: event.id, bar: bar)
+ Divider()
+ }
+
EventActionBar(damus_state: damus, event: event, bar: bar)
+ .padding([.top], 4)
}
Divider()