mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
no message
This commit is contained in:
@@ -16,7 +16,7 @@ final class HashtagChatInputPanelItem: ListViewItem {
|
||||
self.hashtagSelected = hashtagSelected
|
||||
}
|
||||
|
||||
public func nodeConfiguredForWidth(async: @escaping (@escaping () -> Void) -> Void, width: CGFloat, previousItem: ListViewItem?, nextItem: ListViewItem?, completion: @escaping (ListViewItemNode, @escaping () -> Void) -> Void) {
|
||||
public func nodeConfiguredForWidth(async: @escaping (@escaping () -> Void) -> Void, width: CGFloat, previousItem: ListViewItem?, nextItem: ListViewItem?, completion: @escaping (ListViewItemNode, @escaping () -> (Signal<Void, NoError>?, () -> Void)) -> Void) {
|
||||
let configure = { () -> Void in
|
||||
let node = HashtagChatInputPanelItemNode()
|
||||
|
||||
@@ -28,7 +28,7 @@ final class HashtagChatInputPanelItem: ListViewItem {
|
||||
node.insets = layout.insets
|
||||
|
||||
completion(node, {
|
||||
apply(.None)
|
||||
return (nil, { apply(.None) })
|
||||
})
|
||||
}
|
||||
if Thread.isMainThread {
|
||||
|
||||
Reference in New Issue
Block a user