wallpapers: only preview dynamic if current

Don't preview dynamic colour scheme in wallpaper picker when the current scheme isnt set to the dynamic scheme
This commit is contained in:
2 * r + 2 * t 2025-06-23 19:36:00 +10:00
parent 92700bbd84
commit 2a68d79422

View file

@ -42,7 +42,9 @@ Singleton {
function preview(path: string): void {
previewPath = path;
showPreview = true;
getPreviewColoursProc.running = true;
if (Colours.scheme === "dynamic")
getPreviewColoursProc.running = true;
}
function stopPreview(): void {