Skip to content

Commit

Permalink
fix: fix speak not working
Browse files Browse the repository at this point in the history
  • Loading branch information
solo5star committed Jun 4, 2022
1 parent c3279bd commit fd2307d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/lib/ui/home_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class _HomeViewState extends State<HomeView> {
speech = '음료의 종류가 많습니다';
}

if (speech.isNotEmpty && speech != previousSpeech) {
if (speech.isNotEmpty) {
await widget.tts.speak(speech);
previousSpeech = speech;
}
Expand Down

0 comments on commit fd2307d

Please sign in to comment.