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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user