2022-06-22 12:16:21 +00:00
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
|
|
|
|
StatusListItem {
|
|
|
|
property var community
|
|
|
|
|
|
|
|
title: community.name
|
|
|
|
subTitle: community.amISectionAdmin ? qsTr("Admin") : qsTr("Member")
|
2022-08-11 11:55:08 +00:00
|
|
|
asset.name: !!community.image ? community.image : community.name
|
|
|
|
asset.isImage: asset.name.includes("data")
|
|
|
|
asset.letterSize: 14
|
|
|
|
asset.isLetterIdenticon: !community.image
|
|
|
|
asset.color: community.color
|
2022-06-22 12:16:21 +00:00
|
|
|
}
|