Fix reply to media crash caused by missing room context (and implicitly image provider) on the new composer toolbar

This commit is contained in:
Stefan Ceriu
2023-08-10 11:27:06 +03:00
committed by Stefan Ceriu
parent 1e1cbd72bb
commit 8a69ca1ce0
2 changed files with 2 additions and 0 deletions
@@ -33,6 +33,7 @@ struct RoomScreen: View {
.padding(.top, 8)
.padding(.bottom)
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.environmentObject(context)
}
.navigationBarTitleDisplayMode(.inline)
.toolbar { toolbar }
+1
View File
@@ -0,0 +1 @@
Fixed crash when trying to reply to media files