1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

refactor: mega refactoring of a bunch of things

This commit is contained in:
bbedward
2025-07-23 11:56:18 -04:00
parent 14eef59c9f
commit 19adcf3578
52 changed files with 4260 additions and 3879 deletions

View File

@@ -109,13 +109,13 @@ Column {
bottomPadding: Theme.spacingS
onEditingFinished: {
var color = text.trim();
if (color === "" || /^#[0-9A-Fa-f]{6}$/.test(color)) {
if (color === "" || /^#[0-9A-Fa-f]{6}$/.test(color))
Prefs.setOSLogoColorOverride(color);
} else {
else
text = Prefs.osLogoColorOverride;
}
}
}
}
Row {
@@ -139,9 +139,10 @@ Column {
unit: ""
showValue: false
onSliderValueChanged: (newValue) => {
Prefs.setOSLogoBrightness(newValue / 100.0);
Prefs.setOSLogoBrightness(newValue / 100);
}
}
}
Row {
@@ -165,9 +166,12 @@ Column {
unit: ""
showValue: false
onSliderValueChanged: (newValue) => {
Prefs.setOSLogoContrast(newValue / 100.0);
Prefs.setOSLogoContrast(newValue / 100);
}
}
}
}
}
}