Blur and background updates

This commit is contained in:
Ali
2021-05-18 19:30:41 +04:00
parent f1ce92f480
commit 99dc1a8743
80 changed files with 800 additions and 432 deletions

View File

@@ -620,8 +620,8 @@ public final class SearchBarNodeTheme: Equatable {
}
public init(theme: PresentationTheme, hasBackground: Bool = true, hasSeparator: Bool = true) {
self.background = hasBackground ? theme.rootController.navigationBar.backgroundColor : .clear
self.separator = hasSeparator ? theme.rootController.navigationBar.separatorColor : theme.rootController.navigationBar.backgroundColor
self.background = hasBackground ? theme.rootController.navigationBar.blurredBackgroundColor : .clear
self.separator = hasSeparator ? theme.rootController.navigationBar.separatorColor : theme.rootController.navigationBar.blurredBackgroundColor
self.inputFill = theme.rootController.navigationSearchBar.inputFillColor
self.placeholder = theme.rootController.navigationSearchBar.inputPlaceholderTextColor
self.primaryText = theme.rootController.navigationSearchBar.inputTextColor