Fix service background selection

This commit is contained in:
Ali
2021-06-11 12:17:27 +04:00
parent 3a0531fd04
commit 8afea63b53
12 changed files with 30 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ final class ChatLoadingNode: ASDisplayNode {
private let offset: CGPoint
init(theme: PresentationTheme, chatWallpaper: TelegramWallpaper, bubbleCorners: PresentationChatBubbleCorners) {
self.backgroundNode = NavigationBackgroundNode(color: theme.chat.serviceMessage.components.withDefaultWallpaper.dateFillStatic)
self.backgroundNode = NavigationBackgroundNode(color: selectDateFillStaticColor(theme: theme, wallpaper: chatWallpaper))
let serviceColor = serviceMessageColorComponents(theme: theme, wallpaper: chatWallpaper)
self.activityIndicator = ActivityIndicator(type: .custom(serviceColor.primaryText, 22.0, 2.0, false), speed: .regular)