mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix: chatLayout getting squished on first login
This commit is contained in:
parent
29a9ca4ef5
commit
7ddb93266b
@ -70,25 +70,21 @@ SplitView {
|
||||
|
||||
Loader {
|
||||
id: contactColumnLoader
|
||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
||||
sourceComponent: chatsModel.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
||||
}
|
||||
|
||||
Component {
|
||||
id: contactsColumnComponent
|
||||
ContactsColumn {
|
||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: communtiyColumnComponent
|
||||
CommunityColumn {
|
||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
||||
}
|
||||
CommunityColumn {}
|
||||
}
|
||||
|
||||
ChatColumn {
|
||||
|
Loading…
x
Reference in New Issue
Block a user