Merge commit '9ec01a7f24efe698cefef01673822e7888fe6eb3' into tsupport-merge

This commit is contained in:
Isaac
2024-04-08 17:04:50 +04:00
111 changed files with 3452 additions and 686 deletions

View File

@@ -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 {