From 48c90b1fa3a463b5779902a024f923cf646e1950 Mon Sep 17 00:00:00 2001 From: nixzhu Date: Mon, 20 Jul 2015 14:21:16 +0800 Subject: [PATCH] undo --- Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift | 2 -- Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift | 2 -- 2 files changed, 4 deletions(-) diff --git a/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift b/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift index d273db97..1186c579 100644 --- a/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift +++ b/Yep/Views/Cells/ChatLeftVideo/ChatLeftVideoCell.swift @@ -59,8 +59,6 @@ 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 8620a54a..7e07317c 100644 --- a/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift +++ b/Yep/Views/Cells/ChatRightVideo/ChatRightVideoCell.swift @@ -47,8 +47,6 @@ class ChatRightVideoCell: ChatRightBaseCell { if progress <= 1.0 { loadingProgress = progress - } else if progress > 1.0 { - loadingProgress = 1.0 } if let image = image {