Skip to content

Commit

Permalink
fix: Speech to text button on chat activity not working fossasia#2469
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamkumar1739 committed Feb 7, 2020
1 parent 54eb7e7 commit f71cc9e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/java/org/fossasia/susi/ai/chat/STTfragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ class STTFragment : Fragment() {
recognizer.startListening(intent)
}
private fun restoreActivityState() {

if ((activity as ChatActivity).recordingThread != null) {
chatPresenter.startHotwordDetection()
}
Expand Down

0 comments on commit f71cc9e

Please sign in to comment.