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

bring back lazy loaders

This commit is contained in:
bbedward
2025-08-13 18:10:20 -04:00
parent 83c97eb245
commit cc6e465be1
4 changed files with 200 additions and 69 deletions

View File

@@ -145,13 +145,13 @@ Singleton {
id: matugenCollector
onStreamFinished: {
if (!text) {
if (!matugenCollector.text) {
ToastService.wallpaperErrorStatus = "error"
ToastService.showError("Wallpaper Processing Failed: Empty JSON extracted from matugen output.")
return
}
try {
root.matugenColors = JSON.parse(text)
root.matugenColors = JSON.parse(matugenCollector.text)
root.colorsUpdated()
generateAppConfigs()
ToastService.clearWallpaperError()