mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-21 18:54:01 -04:00
fix(wallpaper): keep a loading wallpaper when the surface regenerates (#3824)
This commit is contained in:
@@ -213,7 +213,7 @@ Variants {
|
||||
|
||||
function regenerate() {
|
||||
invalidate();
|
||||
if (!root.currentSource || currentWallpaper.source.toString())
|
||||
if (!root.currentSource || currentWallpaper.source.toString() || nextWallpaper.source.toString())
|
||||
return;
|
||||
currentWallpaper.source = root.currentSource;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user