mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-27 06:52:50 -05:00
osd: add option to disable each OSD
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user