Fixes #2792 - Use the right room context in the plain composer

This commit is contained in:
Stefan Ceriu
2024-05-07 10:13:56 +03:00
committed by Stefan Ceriu
parent 4d0d150f2b
commit 3017100e5e
4 changed files with 9 additions and 10 deletions
@@ -45,7 +45,7 @@ struct RoomScreen: View {
}
.padding(.top, 8)
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.environmentObject(context)
.environment(\.roomContext, context)
}
.navigationTitle(L10n.screenRoomTitle) // Hidden but used for back button text.
.navigationBarTitleDisplayMode(.inline)