mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-01 18:33:10 +00:00
HashtagSearchController: fixed crash
This commit is contained in:
parent
80f6e1808f
commit
728043b50b
@ -65,7 +65,8 @@ final class HashtagSearchController: TelegramController {
|
||||
})
|
||||
|
||||
let previousSearchItems = Atomic<[ChatListSearchEntry]?>(value: nil)
|
||||
self.transitionDisposable = (foundMessages |> deliverOn(self.queue)).start(next: { [weak self] entries in
|
||||
self.transitionDisposable = (foundMessages
|
||||
|> deliverOnMainQueue).start(next: { [weak self] entries in
|
||||
if let strongSelf = self {
|
||||
let previousEntries = previousSearchItems.swap(entries)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user