Skip to content

Commit

Permalink
Fix reply to media crash caused by missing room context (and implicit…
Browse files Browse the repository at this point in the history
…ly image provider) on the new composer toolbar
  • Loading branch information
stefanceriu committed Aug 10, 2023
1 parent 77061c4 commit 7c509a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ struct RoomScreen: View {
.padding(.top, 8)
.padding(.bottom)
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.environmentObject(context)
}
.navigationBarTitleDisplayMode(.inline)
.toolbar { toolbar }
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-1472.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed crash when trying to reply to media files

0 comments on commit 7c509a1

Please sign in to comment.