2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-30 16:25:35 +00:00

14 lines
488 B
QML
Raw Normal View History

import QtQuick 2.15
import utils 1.0
ShowcaseDelegate {
title: !!showcaseObj ? `${showcaseObj.name}` || `#${showcaseObj.id}` : ""
secondaryTitle: !!showcaseObj && !!showcaseObj.collectionName ? showcaseObj.collectionName : ""
hasImage: !!showcaseObj && !!showcaseObj.imageUrl
icon.source: hasImage ? showcaseObj.imageUrl : ""
bgRadius: Style.current.radius
bgColor: !!showcaseObj && !!showcaseObj.backgroundColor ? showcaseObj.backgroundColor : "transparent"
}