1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 22:15:38 -05:00

cups plugin: small fix - change state update (#637)

* change state update

* i18n: update source strings from codebase

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Massimo Branchini
2025-11-06 14:11:18 +01:00
committed by GitHub
parent c9ee856f91
commit bc6b568f7e
2 changed files with 42 additions and 38 deletions

View File

@@ -227,6 +227,8 @@ Singleton {
DMSService.sendRequest("cups.pausePrinter", params, response => {
if (response.error) {
ToastService.showError(I18n.tr("Failed to pause printer") + " - " + response.error)
} else {
getState()
}
})
}
@@ -242,6 +244,8 @@ Singleton {
DMSService.sendRequest("cups.resumePrinter", params, response => {
if (response.error) {
ToastService.showError(I18n.tr("Failed to resume printer") + " - " + response.error)
} else {
getState()
}
})
}