mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-15 15:54:00 -04:00
30 lines
864 B
QML
30 lines
864 B
QML
import QtQuick
|
|
import qs.Common
|
|
import qs.Modules.Settings.Widgets
|
|
|
|
Column {
|
|
id: root
|
|
|
|
property var page: null
|
|
|
|
width: parent?.width ?? 0
|
|
spacing: Theme.spacingL
|
|
|
|
SettingsCard {
|
|
settingKey: "barWidgetSystemUpdate"
|
|
|
|
SettingsToggleRow {
|
|
text: I18n.tr("Hide when no updates")
|
|
checked: root.page.value("hideWhenIdle")
|
|
onToggled: checked => root.page.set("hideWhenIdle", checked)
|
|
}
|
|
|
|
SettingsNavRow {
|
|
iconName: "system_update_alt"
|
|
title: I18n.tr("Software updates", "settings page, modal and bar widget title, DMS and system package updates")
|
|
hint: I18n.tr("DMS and system updates", "settings sidebar hint for the software updates page")
|
|
onClicked: keyboard => root.page.parentModal?.navigateTo("updater", keyboard)
|
|
}
|
|
}
|
|
}
|