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 {
|
switch sheet {
|
||||||
case .reply:
|
case .reply:
|
||||||
ReplyView(replying_to: event)
|
ReplyView(replying_to: event)
|
||||||
|
.environmentObject(profiles)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ struct EventView: View {
|
|||||||
|
|
||||||
if has_action_bar {
|
if has_action_bar {
|
||||||
EventActionBar(event: event)
|
EventActionBar(event: event)
|
||||||
|
.environmentObject(profiles)
|
||||||
}
|
}
|
||||||
|
|
||||||
Divider()
|
Divider()
|
||||||
|
|||||||
Reference in New Issue
Block a user