Wallpaper: minor optimizations/simplification

This commit is contained in:
LemmyCook 2025-09-08 07:51:01 -04:00
parent 66a4618d09
commit b43b065cf2
3 changed files with 3 additions and 17 deletions

View file

@ -216,11 +216,7 @@ Singleton {
// -------------------------------------------------------------------
// Get specific monitor wallpaper - now from cache
function getWallpaper(screenName) {
var path = currentWallpapers[screenName] || ""
if (path === "") {
return Settings.data.wallpaper.defaultWallpaper || ""
}
return path
return currentWallpapers[screenName] || Settings.defaultWallpaper
}
// -------------------------------------------------------------------