Transcription animation improvements

This commit is contained in:
Ali
2022-05-31 16:10:13 +04:00
parent f581695640
commit 7cb9f925bd
3 changed files with 21 additions and 5 deletions

View File

@@ -42,7 +42,11 @@ private func transcribedText(message: Message) -> TranscribedText? {
if !attribute.text.isEmpty {
return .success(text: attribute.text, isPending: attribute.isPending)
} else {
return .error
if attribute.isPending {
return nil
} else {
return .error
}
}
}
}