mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -2606,10 +2606,10 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
|
||||
switch mode {
|
||||
case .sticker:
|
||||
let controller = StickerPickerScreen(context: self.context, inputData: self.stickerPickerInputData.get())
|
||||
controller.completion = { [weak self] file in
|
||||
controller.completion = { [weak self] content in
|
||||
if let self {
|
||||
if let file {
|
||||
let stickerEntity = DrawingStickerEntity(content: .file(file))
|
||||
if let content {
|
||||
let stickerEntity = DrawingStickerEntity(content: content)
|
||||
self.interaction?.insertEntity(stickerEntity)
|
||||
|
||||
self.hasAnyChanges = true
|
||||
|
||||
Reference in New Issue
Block a user