property FileDetails fileDetails: FileDetails {}
property StackView rootStackView: StackView {}
property bool backgroundsVisible: true
+ property color accentColor: Style.ncBlue
property bool canCreateLinkShares: true
property bool serverAllowsResharing: true
id: backgroundOrMask
anchors.fill: parent
radius: width / 2
- color: Style.ncBlue
+ color: root.accentColor
visible: !imageItem.isAvatar
}
property int horizontalPadding: 0
property int iconSize: 32
property bool backgroundsVisible: true
+ property color accentColor: Style.ncBlue
readonly property bool sharingPossible: shareModel && shareModel.canShare && shareModel.sharingEnabled
readonly property bool userGroupSharingPossible: sharingPossible && shareModel.userGroupSharingEnabled
fileDetails: root.fileDetails
rootStackView: root.rootStackView
backgroundsVisible: root.backgroundsVisible
+ accentColor: root.accentColor
canCreateLinkShares: root.publicLinkSharingPossible
serverAllowsResharing: root.serverAllowsResharing