diff --git a/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift b/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift index 1186c579..d273db97 100644 --- a/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift +++ b/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift @@ -59,6 +59,8 @@ class ChatLeftVideoCell: UICollectionViewCell { if progress <= 1.0 { loadingProgress = progress + } else if progress > 1.0 { + loadingProgress = 1.0 } if let image = image { diff --git a/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift b/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift index 7e07317c..8620a54a 100644 --- a/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift +++ b/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift @@ -47,6 +47,8 @@ class ChatRightVideoCell: ChatRightBaseCell { if progress <= 1.0 { loadingProgress = progress + } else if progress > 1.0 { + loadingProgress = 1.0 } if let image = image {