mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
autofmt
This commit is contained in:
@@ -180,4 +180,3 @@ Singleton {
|
||||
return adapter.wallpapers || {};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,6 @@ Popup {
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
|
||||
background: Rectangle {
|
||||
color: Color.mSurface
|
||||
radius: Style.radiusL
|
||||
|
||||
@@ -486,7 +486,6 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Timer {
|
||||
id: saveTimer
|
||||
interval: 200
|
||||
|
||||
@@ -85,7 +85,7 @@ Singleton {
|
||||
|
||||
// Load wallpapers from ShellState first (faster), then fall back to Settings
|
||||
currentWallpapers = ({});
|
||||
|
||||
|
||||
if (typeof ShellState !== 'undefined' && ShellState.isLoaded) {
|
||||
var cachedWallpapers = ShellState.getWallpapers();
|
||||
if (cachedWallpapers && Object.keys(cachedWallpapers).length > 0) {
|
||||
@@ -113,7 +113,7 @@ Singleton {
|
||||
}
|
||||
}
|
||||
Logger.d("Wallpaper", "Loaded wallpapers from Settings");
|
||||
|
||||
|
||||
// Migrate to ShellState if we loaded from Settings
|
||||
if (typeof ShellState !== 'undefined' && ShellState.isLoaded && Object.keys(currentWallpapers).length > 0) {
|
||||
ShellState.setWallpapers(currentWallpapers);
|
||||
|
||||
Reference in New Issue
Block a user