Group boosts

This commit is contained in:
Ilya Laktyushin
2024-02-10 23:41:41 +04:00
parent 50c186b566
commit 64a49fc6ed
13 changed files with 63 additions and 20 deletions

View File

@@ -390,7 +390,7 @@ public final class ChatEntityKeyboardInputNode: ChatInputNode {
}
return true
}
public var useExternalSearchContainer: Bool = false
private var gifContext: GifContext? {
@@ -2133,6 +2133,12 @@ public final class ChatEntityKeyboardInputNode: ChatInputNode {
strongSelf.interaction?.presentGlobalOverlayController(contextController, nil)
})
}
public func scrollToGroupEmoji() {
if let pagerView = self.entityKeyboardView.componentView as? EntityKeyboardComponent.View {
pagerView.scrollToItemGroup(contentId: "emoji", groupId: "peerSpecific", subgroupId: nil)
}
}
}
private final class ContextControllerContentSourceImpl: ContextControllerContentSource {