Wallpaper updates

This commit is contained in:
Ali
2021-05-11 23:31:03 +04:00
parent f4df115850
commit 6854173dae
34 changed files with 356 additions and 898 deletions

View File

@@ -500,7 +500,12 @@ public class WallpaperGalleryController: ViewController {
applyWallpaper(wallpaper)
})
} else {
applyWallpaper(wallpaper)
var updatedWallpaper = wallpaper
if var settings = wallpaper.settings {
settings.motion = options.contains(.motion)
updatedWallpaper = updatedWallpaper.withUpdatedSettings(settings)
}
applyWallpaper(updatedWallpaper)
}
default:
break