소스 검색

不在这里做保护了

jsonwang 3 년 전
부모
커밋
654cf8200f
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

+ 2 - 6
BFRecordScreenKit/Classes/RecordScreen/Controller/BFRecordScreenController.swift

@@ -2844,12 +2844,8 @@ extension BFRecordScreenController: BFTTSManagerDelegte{
             temp.recordId == model.recordId
         }
         //第一次录制返回后是voiceStickers为空的也要加入
-        if(itemModels[Int(model.itemModelIndex)].voiceStickers.count == 0){
-            itemModels[Int(model.itemModelIndex)].voiceChangeStickers.append(voice)
-            
-        }else if(itemModels[Int(model.itemModelIndex)].voiceStickers.count > 0 && findRecordId != nil){
-            itemModels[Int(model.itemModelIndex)].voiceChangeStickers.append(voice)
-        }
+        itemModels[Int(model.itemModelIndex)].voiceChangeStickers.append(voice)
+        
      
         //显示当前段的转换进度isExportAction
         var  progress:Float = 0.0