Skip to content
Snippets Groups Projects
Commit 9d00c4f4 authored by Andreas Hatziiliou's avatar Andreas Hatziiliou
Browse files

chatview: default view to chat instead of side-panel

When the application window or screen is too small and
the user opens the details side-panel, it will display
over the chat. This change makes it so that switching
conversation's defaults the view back to the chat and not
to the side-panel.

Change-Id: I3cffba24a7d23d7635937329c2078979722031c4
parent f5743da2
Branches
Tags
No related merge requests found
......@@ -133,6 +133,10 @@ Rectangle {
target: CurrentConversation
function onIdChanged() {
console.log(CurrentConversation.id);
if (width < JamiTheme.mainViewMinWidth + extrasPanel.width) {
extrasPanel.visible = false;
}
if (!chatViewHeader.interactionButtonsVisibility)
extrasPanel.closePanel();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment