fix crash for profiles environment object in replies
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -49,6 +49,7 @@ struct EventActionBar: View {
|
||||
switch sheet {
|
||||
case .reply:
|
||||
ReplyView(replying_to: event)
|
||||
.environmentObject(profiles)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,6 +69,7 @@ struct EventView: View {
|
||||
|
||||
if has_action_bar {
|
||||
EventActionBar(event: event)
|
||||
.environmentObject(profiles)
|
||||
}
|
||||
|
||||
Divider()
|
||||
|
||||
Reference in New Issue
Block a user