mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -208,6 +208,7 @@ public final class ChatEntityKeyboardInputNode: ChatInputNode {
|
||||
hasTrending: hasTrending,
|
||||
forceHasPremium: false,
|
||||
hasEdit: hasEdit,
|
||||
hasAdd: hasEdit,
|
||||
subject: .chatStickers,
|
||||
hideBackground: hideBackground
|
||||
)
|
||||
@@ -1397,7 +1398,8 @@ public final class ChatEntityKeyboardInputNode: ChatInputNode {
|
||||
parentNavigationController: interaction.getNavigationController(),
|
||||
sendSticker: { [weak interaction] fileReference, sourceView, sourceRect in
|
||||
return interaction?.sendSticker(fileReference, false, false, nil, false, sourceView, sourceRect, nil, []) ?? false
|
||||
}
|
||||
},
|
||||
actionPerformed: nil
|
||||
)
|
||||
interaction.presentController(controller, nil)
|
||||
})
|
||||
@@ -2880,7 +2882,7 @@ public final class EmojiContentPeekBehaviorImpl: EmojiContentPeekBehavior {
|
||||
let controller = strongSelf.context.sharedContext.makeStickerPackScreen(context: context, updatedPresentationData: nil, mainStickerPack: packReference, stickerPacks: [packReference], loadedStickerPacks: [], isEditing: false, expandIfNeeded: false, parentNavigationController: interaction.navigationController(), sendSticker: { file, sourceView, sourceRect in
|
||||
sendSticker(file, false, false, nil, false, sourceView, sourceRect, nil)
|
||||
return true
|
||||
})
|
||||
}, actionPerformed: nil)
|
||||
|
||||
interaction.navigationController()?.view.window?.endEditing(true)
|
||||
interaction.presentController(controller, nil)
|
||||
|
||||
Reference in New Issue
Block a user