mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-13 01:02:18 -04:00
notifications: handle material icons
This commit is contained in:
@@ -71,12 +71,18 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
DankIcon {
|
||||
AppIconRenderer {
|
||||
anchors.centerIn: parent
|
||||
name: root.fallbackIcon
|
||||
size: parent.width * 0.5
|
||||
color: Theme.surfaceVariantText
|
||||
width: parent.width * 0.75
|
||||
height: width
|
||||
visible: (internalImage.status !== Image.Ready || root.imageSource === "") && root.fallbackIcon !== ""
|
||||
iconValue: root.fallbackIcon
|
||||
iconSize: width
|
||||
iconColor: Theme.surfaceVariantText
|
||||
materialIconSizeAdjustment: 0
|
||||
fallbackText: root.fallbackText
|
||||
fallbackBackgroundColor: "transparent"
|
||||
fallbackTextColor: Theme.surfaceVariantText
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
||||
Reference in New Issue
Block a user