Fix undo action

This commit is contained in:
Ilya Laktyushin 2022-07-20 20:47:21 +02:00
parent e1902192d4
commit 1a102a6d1c

View File

@ -974,6 +974,8 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
case let .sticker(_, _, _, _, _, customAction):
if let customAction = customAction {
customAction()
} else {
let _ = self.action(.undo)
}
default:
let _ = self.action(.undo)