1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

Add hide option for updater widget (#1028)

This commit is contained in:
Pi Home Server
2025-12-14 21:55:47 +01:00
committed by GitHub
parent 3bbc78a44f
commit 00d12acd5e
4 changed files with 14 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ BasePill {
readonly property bool hasUpdates: SystemUpdateService.updateCount > 0
readonly property bool isChecking: SystemUpdateService.isChecking
readonly property real horizontalPadding: (barConfig?.noBackground ?? false) ? 2 : Theme.spacingS
width : (SettingsData.updaterHideWidget && !hasUpdates) ? 0 : (18 + horizontalPadding * 2)
Ref {
service: SystemUpdateService
}