mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 23:17:51 -04:00
fix(osd): fill active keep-awake icon (#3986)
port 2.0
(cherry picked from commit af9876d232)
This commit is contained in:
1 parent
9fd55f6f5e
commit
7a7f67bc24
2 files changed
+3
No files matched your search
@@ -28,6 +28,7 @@ DOSD {
|
||||
anchors.centerIn: parent
|
||||
iconName: "local_cafe"
|
||||
iconColor: SessionService.idleInhibited ? Theme.primary : Theme.outline
|
||||
filled: SessionService.idleInhibited
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ Loader {
|
||||
property string label: ""
|
||||
property color iconColor: Theme.onSecondaryContainer
|
||||
property color backgroundColor: Theme.secondaryContainer
|
||||
property bool filled: false
|
||||
property bool tonal: true
|
||||
property bool interactive: false
|
||||
property bool available: true
|
||||
@@ -48,6 +49,7 @@ Loader {
|
||||
name: root.iconName
|
||||
size: root.glyphSize
|
||||
color: root.available ? root.iconColor : Theme.onSurface_38
|
||||
filled: root.filled
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user