Explicit room parameter DirectChatDrawerHeader

Create explicit room parameter and reference it in DirectChatDrawerHeader
This commit is contained in:
James Graham
2023-11-05 13:49:13 +00:00
committed by Tobias Fella
parent 5adffddbd8
commit e7fa3ad524
2 changed files with 15 additions and 6 deletions

View File

@@ -249,7 +249,9 @@ QQC2.ScrollView {
Component {
id: directChatDrawerHeader
DirectChatDrawerHeader {}
DirectChatDrawerHeader {
room: root.room
}
}
onRoomChanged: {