diff --git a/SignalMessaging/Views/VideoEditor/VideoEditorView.swift b/SignalMessaging/Views/VideoEditor/VideoEditorView.swift index 98e9c08379..84b3d193e8 100644 --- a/SignalMessaging/Views/VideoEditor/VideoEditorView.swift +++ b/SignalMessaging/Views/VideoEditor/VideoEditorView.swift @@ -571,6 +571,10 @@ class TrimVideoTimelineView: UIView { } let thumbnailSize: CGFloat = height() + guard thumbnailSize > 0 else { + return + } + let thumbnailCount = UInt(ceil(width() / thumbnailSize)) for index in 0..