no message

This commit is contained in:
Peter
2018-08-03 23:23:02 +03:00
parent 07fc80ef3a
commit ab261ecbc7
155 changed files with 7548 additions and 3657 deletions

View File

@@ -14,7 +14,7 @@ final class SearchDisplayController {
private var isSearchingDisposable: Disposable?
init(theme: PresentationTheme, strings: PresentationStrings, contentNode: SearchDisplayControllerContentNode, cancel: @escaping () -> Void) {
self.searchBar = SearchBarNode(theme: theme, strings: strings)
self.searchBar = SearchBarNode(theme: SearchBarNodeTheme(theme: theme), strings: strings)
self.contentNode = contentNode
self.searchBar.textUpdated = { [weak contentNode] text in
@@ -39,7 +39,7 @@ final class SearchDisplayController {
}
func updateThemeAndStrings(theme: PresentationTheme, strings: PresentationStrings) {
self.searchBar.updateThemeAndStrings(theme: theme, strings: strings)
self.searchBar.updateThemeAndStrings(theme: SearchBarNodeTheme(theme: theme), strings: strings)
}
func containerLayoutUpdated(_ layout: ContainerViewLayout, navigationBarHeight: CGFloat, transition: ContainedViewLayoutTransition) {