feat: move chat button under communities

This commit is contained in:
Jonathan Rainville 2021-04-13 15:51:40 -04:00 committed by Iuri Matias
parent 048642b7df
commit 00b793c11c
1 changed files with 17 additions and 17 deletions

View File

@ -391,6 +391,23 @@ RowLayout {
spacing: 12
width: scrollView.width
Loader {
id: communitiesListLoader
active: appSettings.communitiesEnabled
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
height: {
if (item && active) {
return item.height
}
return 0
}
sourceComponent: Component {
CommunityList {}
}
}
StatusIconTabButton {
id: chatBtn
icon.name: "message"
@ -426,23 +443,6 @@ RowLayout {
}
}
Loader {
id: communitiesListLoader
active: appSettings.communitiesEnabled
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
height: {
if (item && active) {
return item.height
}
return 0
}
sourceComponent: Component {
CommunityList {}
}
}
Loader {
active: !leftTabButtons.visible
width: parent.width