Fix emoji search

This commit is contained in:
Isaac 2024-04-22 23:18:21 +04:00
parent 59f4ec2cdd
commit 5a80f3f2a4

View File

@ -1403,7 +1403,7 @@ final class ComposePollScreenComponent: Component {
}
}
if previousEditingTag !== self.currentEditingTag, self.currentInputMode != .keyboard {
if let currentEditingTag = self.currentEditingTag, previousEditingTag !== currentEditingTag, self.currentInputMode != .keyboard {
DispatchQueue.main.async { [weak self] in
guard let self else {
return