1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-16 01:02:46 -04:00

refactor(SysUpdate): Explicit Run on Startup option in settings

- Relocated DMS System Updater to System Setting section
- Removed forced auto refresh upon update & widget loading
This commit is contained in:
purian23
2026-05-14 20:32:42 -04:00
parent e5cd9caba1
commit 0a892a4a9e
7 changed files with 55 additions and 26 deletions
@@ -75,16 +75,6 @@ DankPopout {
close();
}
onShouldBeVisibleChanged: {
if (!shouldBeVisible) {
return;
}
const stale = !SystemUpdateService.lastCheckUnix || (Date.now() / 1000 - SystemUpdateService.lastCheckUnix) > 300;
if (stale && !SystemUpdateService.isChecking && !SystemUpdateService.isUpgrading) {
SystemUpdateService.checkForUpdates();
}
}
content: Component {
Rectangle {
id: updaterPanel