1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 04:09:15 -04:00

osd: add option to disable each OSD

This commit is contained in:
bbedward
2025-11-15 11:36:33 -05:00
parent 1c264d858b
commit cbb244f785
9 changed files with 122 additions and 8 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ DankOSD {
target: typeof PowerProfiles !== "undefined" ? PowerProfiles : null
function onProfileChanged() {
if (lastProfile !== -1 && lastProfile !== PowerProfiles.profile) {
if (lastProfile !== -1 && lastProfile !== PowerProfiles.profile && SettingsData.osdPowerProfileEnabled) {
root.show()
}
lastProfile = PowerProfiles.profile