diff --git a/submodules/LegacyComponents/Sources/TGPhotoPaintController.m b/submodules/LegacyComponents/Sources/TGPhotoPaintController.m index abf25402a4..06583aa272 100644 --- a/submodules/LegacyComponents/Sources/TGPhotoPaintController.m +++ b/submodules/LegacyComponents/Sources/TGPhotoPaintController.m @@ -1223,8 +1223,10 @@ const CGFloat TGPhotoPaintStickerKeyboardSize = 260.0f; NSTimeInterval currentTime = editorController.currentTime; __strong TGPhotoStickerEntityView *strongStickerView = weakStickerView; if (strongStickerView != nil) { - [strongStickerView seekTo:currentTime]; - [strongStickerView play]; + if (!isnan(currentTime)) { + [strongStickerView seekTo:currentTime]; + [strongStickerView play]; + } } } };