Wallpaper: minor optimizations/simplification
This commit is contained in:
parent
66a4618d09
commit
b43b065cf2
3 changed files with 3 additions and 17 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue