1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

suppress toast

This commit is contained in:
bbedward
2025-08-25 23:59:15 -04:00
parent 08b555d724
commit bf475776a9

View File

@@ -612,7 +612,10 @@ Singleton {
onExited: exitCode => {
workerRunning = false
if (exitCode !== 0) {
if (exitCode === 2) {
// Exit code 2 means wallpaper/color not found - this is expected on first run
console.log("Theme worker: wallpaper/color not found, skipping theme generation")
} else if (exitCode !== 0) {
if (typeof ToastService !== "undefined") {
ToastService.showError("Theme worker failed (" + exitCode + ")")
}