Skip to content

Commit b41534a

Browse files
committed
fix(GroupChats): Fix chat navigation initialization showing group management option
Ensures correct initial state on chat content module change. Sets `root.state = d.stateInfoButtonContent` so the group management option no longer appears when switching between chats.
1 parent 242fd06 commit b41534a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/app/AppLayouts/Chat/views/ChatHeaderContentView.qml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ RowLayout {
5353
root.state = d.stateMembersSelectorContent
5454
}
5555

56+
onChatContentModuleChanged: {
57+
// Initialization:
58+
root.state = d.stateInfoButtonContent
59+
}
60+
5661
QtObject {
5762
id: d
5863

0 commit comments

Comments
 (0)