Wallpaper fix timeout
Some checks are pending
Tests / tests (push) Waiting to run

This commit is contained in:
Dustin Brett 2025-10-14 20:11:13 -07:00
parent 641857f2d1
commit 199f600c63
2 changed files with 6 additions and 1 deletions

View File

@ -79,6 +79,8 @@
- Set via image/video (Fill, Fit, Stretch, Tile, Center)
- Picture Slideshow
- [Astronomy Picture of the Day](https://api.nasa.gov/#apod)
- [Art Institute of Chicago](https://api.artic.edu/docs/)
- [Lorem Picsum](https://picsum.photos/)
- AI Generated Wallpapers [Stable Diffusion](https://stability.ai/stable-diffusion)
- Custom screen saver file support
- [3D FlowerBox](https://github.com/kevin-shannon/3D-FlowerBox)

View File

@ -339,7 +339,10 @@ const useWallpaper = (
wallpaperUrl = newWallpaper.wallpaperUrl || "";
fallbackBackground = newWallpaper.fallbackBackground || "";
newWallpaperFit = newWallpaper.newWallpaperFit || newWallpaperFit;
setTimeout(loadFileWallpaper, newWallpaper.updateTimeout);
wallpaperTimerRef.current = setTimeout(
loadFileWallpaper,
newWallpaper.updateTimeout
);
}
} else if (await exists(wallpaperImage)) {
resetWallpaper();