mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-30 08:15:55 +00:00
e304d9b76b
This commit will fix the linux and windows builds by removing the usage of public inline components TODO: revert this commit once all platforms are migrated to qt 5.15.8+
25 lines
868 B
QML
25 lines
868 B
QML
import QtQuick 2.15
|
|
|
|
import utils 1.0
|
|
|
|
import AppLayouts.Profile.controls 1.0
|
|
|
|
ProfileShowcasePanel {
|
|
id: root
|
|
|
|
emptyInShowcasePlaceholderText: qsTr("Drag communities here to display in showcase")
|
|
emptyHiddenPlaceholderText: qsTr("Communities here will be hidden from your Profile")
|
|
|
|
delegate: ProfileShowcasePanelDelegate {
|
|
title: model ? model.name : ""
|
|
secondaryTitle: model && (model.memberRole === Constants.memberRole.owner ||
|
|
model.memberRole === Constants.memberRole.admin ||
|
|
model.memberRole === Constants.memberRole.tokenMaster) ? qsTr("Admin") : qsTr("Member")
|
|
hasImage: model && !!model.image
|
|
|
|
icon.name: model ? model.name : ""
|
|
icon.source: model ? model.image : ""
|
|
icon.color: model ? model.color : ""
|
|
}
|
|
}
|