mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
GIFs in media editor
Image search in media editor
This commit is contained in:
@@ -759,7 +759,7 @@ private final class DrawingScreenComponent: CombinedComponent {
|
||||
emojiItems,
|
||||
stickerItems
|
||||
) |> map { emoji, stickers -> StickerPickerInputData in
|
||||
return StickerPickerInputData(emoji: emoji, stickers: stickers, masks: nil)
|
||||
return StickerPickerInputData(emoji: emoji, stickers: stickers, gifs: nil)
|
||||
}
|
||||
|
||||
stickerPickerInputData.set(signal)
|
||||
@@ -3057,9 +3057,7 @@ public final class DrawingToolsInteraction {
|
||||
|
||||
var isVideo = false
|
||||
if let entity = entityView.entity as? DrawingStickerEntity {
|
||||
if case .video = entity.content {
|
||||
isVideo = true
|
||||
} else if case .dualVideoReference = entity.content {
|
||||
if case .dualVideoReference = entity.content {
|
||||
isVideo = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user