commit 18ad113198b66c22ac5658326d92fc8dc5e9ecc3
parent 74156719008bfcdec5ba8a02b58ae374f7087e31
Author: William Casarin <jb55@jb55.com>
Date: Fri, 10 Feb 2023 11:27:12 -0800
ActionBarModel: StateObject -> ObservedObject
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/ActionBar/EventDetailBar.swift b/damus/Views/ActionBar/EventDetailBar.swift
@@ -10,7 +10,7 @@ import SwiftUI
struct EventDetailBar: View {
let state: DamusState
let target: String
- @StateObject var bar: ActionBarModel
+ @ObservedObject var bar: ActionBarModel
var body: some View {
HStack {