ArchUpdater: fixes (part2)

This commit is contained in:
LemmyCook 2025-08-27 14:42:15 -04:00
parent 68874e8680
commit d6df496216

View file

@ -79,14 +79,12 @@ NIconButton {
}
onClicked: {
if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy)
if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy) {
return
}
if (ArchUpdaterService.totalUpdates > 0) {
PanelService.getPanel("archUpdaterPanel").toggle(screen, this)
} else {
ArchUpdaterService.doPoll()
ArchUpdaterService.doAurPoll()
}
}
}