Skip to content

Commit

Permalink
Update LocalTtsViewModel.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
jing332 authored Jan 19, 2023
1 parent d129c8b commit ee00aed
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ class LocalTtsViewModel : ViewModel() {
mTts.engine = it.value.toString()
mTts.onLoad()
}
mTts.locale = null
mTts.voiceName = null


viewModelScope.runOnIO {
withMain { onStart.invoke() }
Expand Down Expand Up @@ -190,4 +189,4 @@ class LocalTtsViewModel : ViewModel() {
val voices: SpinnerData = SpinnerData()
)

}
}

0 comments on commit ee00aed

Please sign in to comment.