mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
osd: try to optimize power profile osd more
This commit is contained in:
@@ -558,7 +558,7 @@ Item {
|
||||
|
||||
LazyLoader {
|
||||
id: powerProfileOSDLoader
|
||||
active: SettingsData.osdPowerProfileEnabled
|
||||
active: false
|
||||
|
||||
Variants {
|
||||
model: SettingsData.getFilteredScreens("osd")
|
||||
@@ -569,6 +569,14 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: BatteryService
|
||||
|
||||
function onPowerProfileChanged() {
|
||||
powerProfileOSDLoader.active = true
|
||||
}
|
||||
}
|
||||
|
||||
Variants {
|
||||
model: SettingsData.getFilteredScreens("osd")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user