Commit 147b1501 authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent bede39ef
......@@ -142,8 +142,10 @@ class SHRecordViewController: SHBaseViewController{
}
if recorder?.isRecording == true {
let s = self.recognitionTaskText.first! + "\n" + (currentTxt ?? "") + "\n"
self.recognitionTaskText[0] = s
if var s = self.recognitionTaskText.first{
s = s + "\n" + (currentTxt ?? "") + "\n"
self.recognitionTaskText[0] = s
}
}
stopRecord()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment