mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-08 01:40:09 +00:00
Fix undo action
This commit is contained in:
parent
e1902192d4
commit
1a102a6d1c
@ -974,6 +974,8 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
|
|||||||
case let .sticker(_, _, _, _, _, customAction):
|
case let .sticker(_, _, _, _, _, customAction):
|
||||||
if let customAction = customAction {
|
if let customAction = customAction {
|
||||||
customAction()
|
customAction()
|
||||||
|
} else {
|
||||||
|
let _ = self.action(.undo)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
let _ = self.action(.undo)
|
let _ = self.action(.undo)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user