Fix build

This commit is contained in:
Ali 2023-11-14 17:10:52 +04:00
parent fb22bac6ae
commit abdce6408e

View File

@ -18291,7 +18291,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
return
}
if canResetWallpaper && emoticon != nil {
let _ = context.engine.themes.setChatWallpaper(peerId: peerId, wallpaper: nil).startStandalone()
let _ = context.engine.themes.setChatWallpaper(peerId: peerId, wallpaper: nil, forBoth: false).startStandalone()
}
strongSelf.themeEmoticonAndDarkAppearancePreviewPromise.set(.single((emoticon ?? "", nil)))
let _ = context.engine.themes.setChatTheme(peerId: peerId, emoticon: emoticon).startStandalone(completed: { [weak self] in