|
@@ -684,6 +684,7 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
} else {
|
|
|
// 更新数据
|
|
|
wself.itemModels[wself.currItemModelIndex ].titleStickers[index].text = newtext
|
|
|
+ wself.subtitleLabel.text = newtext
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2523,13 +2524,13 @@ public extension BFRecordScreenController {
|
|
|
DispatchQueue.main.async {[weak self] in
|
|
|
guard let wself = self else { return }
|
|
|
|
|
|
- if !(wself.isRecording ?? false), CMTimeCompare((wself.currentAssetProgress ?? .zero), (wself.itemModels[wself.currItemModelIndex ?? 0].materialDuraion ?? .zero)) > 0 {
|
|
|
+ if !(wself.isRecording), CMTimeCompare((wself.currentAssetProgress), (wself.itemModels[wself.currItemModelIndex].materialDuraion )) > 0 {
|
|
|
return
|
|
|
}
|
|
|
// BFLog(1, message: "更新录音进度\(#function)-\(wself.currentAssetProgress.seconds ?? 0)")
|
|
|
- wself.progreddL.text = String(format: "%@", (wself.currentAssetProgress.seconds ?? 0).formatDurationToHMS())
|
|
|
- wself.progressThumV.progress = (wself.currentAssetProgress.seconds ?? 0)
|
|
|
- wself.updateSubtitle(time: wself.currentAssetProgress ?? CMTime.zero)
|
|
|
+ wself.progreddL.text = String(format: "%@", (wself.currentAssetProgress.seconds).formatDurationToHMS())
|
|
|
+ wself.progressThumV.progress = (wself.currentAssetProgress.seconds)
|
|
|
+ wself.updateSubtitle(time: wself.currentAssetProgress)
|
|
|
}
|
|
|
}
|
|
|
|