1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

refactor(dms-updater): remove hidden updates display in popout view

This commit is contained in:
purian23
2026-07-13 12:37:04 -04:00
parent 2cb48aaf6b
commit 7ab0e01573
2 changed files with 1 additions and 17 deletions
@@ -230,21 +230,6 @@ DankPopout {
elide: Text.ElideRight elide: Text.ElideRight
} }
StyledText {
id: hiddenRow
anchors.left: parent.left
anchors.right: parent.right
anchors.top: backendsRow.visible ? backendsRow.bottom : header.bottom
anchors.leftMargin: Theme.spacingL
anchors.rightMargin: Theme.spacingL
anchors.topMargin: Theme.spacingXS
visible: SystemUpdateService.hiddenUpdateCount > 0 && !SystemUpdateService.isUpgrading
text: I18n.tr("%1 hidden (AUR disabled or ignored)").arg(SystemUpdateService.hiddenUpdateCount)
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
wrapMode: Text.WordWrap
}
Row { Row {
id: buttonsRow id: buttonsRow
anchors.left: parent.left anchors.left: parent.left
@@ -340,7 +325,7 @@ DankPopout {
id: bodyArea id: bodyArea
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: hiddenRow.visible ? hiddenRow.bottom : (backendsRow.visible ? backendsRow.bottom : header.bottom) anchors.top: backendsRow.visible ? backendsRow.bottom : header.bottom
anchors.bottom: buttonsRow.top anchors.bottom: buttonsRow.top
anchors.leftMargin: Theme.spacingL anchors.leftMargin: Theme.spacingL
anchors.rightMargin: Theme.spacingL anchors.rightMargin: Theme.spacingL
@@ -33,7 +33,6 @@ Singleton {
property int nextCheckUnix: 0 property int nextCheckUnix: 0
readonly property int updateCount: availableUpdates.length readonly property int updateCount: availableUpdates.length
readonly property int hiddenUpdateCount: _rawUpdates.length - availableUpdates.length
readonly property bool helperAvailable: sysupdateAvailable && backends.length > 0 readonly property bool helperAvailable: sysupdateAvailable && backends.length > 0
Connections { Connections {