2020-12-11 20:29:46 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
|
|
|
import "../../../../shared"
|
|
|
|
import "../../../../imports"
|
|
|
|
import "../components"
|
|
|
|
import "./"
|
|
|
|
|
2021-02-17 16:31:59 +00:00
|
|
|
ListView {
|
|
|
|
id: communityListView
|
|
|
|
spacing: 12
|
|
|
|
height: childrenRect.height
|
|
|
|
visible: height > 10
|
|
|
|
width:parent.width
|
|
|
|
interactive: false
|
2020-12-11 20:29:46 +00:00
|
|
|
|
2021-02-17 16:31:59 +00:00
|
|
|
model: chatsModel.communities.joinedCommunities
|
|
|
|
delegate: CommunityButton {
|
|
|
|
communityId: model.id
|
|
|
|
name: model.name
|
|
|
|
image: model.thumbnailImage
|
2020-12-11 20:29:46 +00:00
|
|
|
}
|
|
|
|
}
|