harry 3 лет назад
Родитель
Сommit
365333ebad
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      BFRecordScreenKit/Classes/BFVideoThumbProgressStrategy.swift

+ 4 - 4
BFRecordScreenKit/Classes/BFVideoThumbProgressStrategy.swift

@@ -19,12 +19,12 @@ class BFVideoThumbProgressStrategy: BFVideoThumbProgressStrategyProtocol {
 
         if assetDuration > 0, assetDuration <= 10 {
             count = 5
-        } else if assetDuration >= 10, assetDuration < 60 {
+        } else if assetDuration >= 10, assetDuration <= 60 {
             count = 10
-        } else if assetDuration >= 60, assetDuration < 300 {
+        } else if assetDuration >= 60, assetDuration <= 300 {
             count = 20
-        } else if assetDuration >= 300 {
-            count = 30
+        } else if assetDuration > 300 {
+            count = 50
         }
 
         return count