mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Wallpaper updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user