feat: move chat button under communities
This commit is contained in:
parent
048642b7df
commit
00b793c11c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue