Cloud themes improvements

This commit is contained in:
Ilya Laktyushin
2019-09-03 11:51:28 +03:00
parent 167b9289d3
commit ec6526b07d
22 changed files with 633 additions and 177 deletions

View File

@@ -570,7 +570,7 @@ public func themeSettingsController(context: AccountContext, focusOnItemTag: The
let resolvedWallpaper: Signal<TelegramWallpaper?, NoError>
if case let .file(file) = presentationTheme.chat.defaultWallpaper, file.id == 0 {
resolvedWallpaper = cachedWallpaper(account: context.account, slug: file.slug)
resolvedWallpaper = cachedWallpaper(account: context.account, slug: file.slug, settings: file.settings)
|> map { wallpaper -> TelegramWallpaper? in
return wallpaper?.wallpaper
}