Fix more warnings

This commit is contained in:
Ali
2021-08-05 12:58:22 +02:00
parent 0a9be38425
commit 895927cc04
40 changed files with 83 additions and 439 deletions

View File

@@ -105,7 +105,7 @@ final class WallpaperUploadManagerImpl: WallpaperUploadManager {
}
let autoNightModeTriggered = presentationData.autoNightModeTriggered
disposable.set(uploadSignal.start(next: { [weak self] status in
disposable.set(uploadSignal.start(next: { status in
if case let .complete(wallpaper) = status {
let updateWallpaper: (TelegramWallpaper) -> Void = { wallpaper in
if let resource = wallpaper.mainResource {