Prepare for chat background optimization

This commit is contained in:
Ali
2021-11-04 21:10:38 +04:00
parent ddb0999af0
commit 146b458f8a
18 changed files with 232 additions and 64 deletions

View File

@@ -99,7 +99,7 @@ final class ChatRecentActionsControllerNode: ViewControllerTracingNode {
self.automaticMediaDownloadSettings = context.sharedContext.currentAutomaticMediaDownloadSettings.with { $0 }
self.backgroundNode = WallpaperBackgroundNode(context: context)
self.backgroundNode = createWallpaperBackgroundNode(context: context)
self.backgroundNode.isUserInteractionEnabled = false
self.panelBackgroundNode = NavigationBackgroundNode(color: self.presentationData.theme.chat.inputPanel.panelBackgroundColor)