mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Merge commit '9ec01a7f24efe698cefef01673822e7888fe6eb3' into tsupport-merge
This commit is contained in:
@@ -2425,7 +2425,7 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
return stickerMediaPickerController(context: context, getSourceRect: getSourceRect, completion: completion, dismissed: dismissed)
|
||||
}
|
||||
|
||||
public func makeStickerPickerScreen(context: AccountContext, inputData: Promise<StickerPickerInput>, completion: @escaping (TelegramMediaFile) -> Void) -> ViewController {
|
||||
public func makeStickerPickerScreen(context: AccountContext, inputData: Promise<StickerPickerInput>, completion: @escaping (FileMediaReference) -> Void) -> ViewController {
|
||||
let controller = StickerPickerScreen(context: context, inputData: inputData.get(), expanded: true, hasGifs: false, hasInteractiveStickers: false)
|
||||
controller.completion = { content in
|
||||
if let content, case let .file(file, _) = content {
|
||||
|
||||
Reference in New Issue
Block a user