mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Provide the room context as an environment object too, prevent reply … (#2804)
This commit is contained in:
@@ -45,6 +45,7 @@ struct RoomScreen: View {
|
|||||||
}
|
}
|
||||||
.padding(.top, 8)
|
.padding(.top, 8)
|
||||||
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
||||||
|
.environmentObject(context)
|
||||||
.environment(\.roomContext, context)
|
.environment(\.roomContext, context)
|
||||||
}
|
}
|
||||||
.navigationTitle(L10n.screenRoomTitle) // Hidden but used for back button text.
|
.navigationTitle(L10n.screenRoomTitle) // Hidden but used for back button text.
|
||||||
|
|||||||
Reference in New Issue
Block a user