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

feat: show memory widget in gb (#1825)

* feat: show memory widget in gb

* cleanup

* even more cleanup

* fix
This commit is contained in:
null
2026-02-25 14:01:41 +01:00
committed by GitHub
parent 6238e065f2
commit cded5a7948
4 changed files with 219 additions and 69 deletions

View File

@@ -216,6 +216,15 @@ Rectangle {
onToggled: checked => root.updateConfig("showMemoryGraph", checked)
}
DankToggle {
width: parent.width - Theme.spacingM * 2
x: Theme.spacingM
text: I18n.tr("Show Memory in GB")
visible: root.cfg.showMemory
checked: root.cfg.showInGb ?? false
onToggled: checked => root.updateConfig("showInGb", checked)
}
SettingsDivider {}
DankToggle {