Skip to content

Commit 4e3768b

Browse files
authored
Merge pull request #62 from elimu-ai/21-play-letter-name
feat: play letter name
2 parents 61f9f6b + bb77d55 commit 4e3768b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/ai/elimu/herufi/ui/LetterSoundListActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void onClick(View v) {
6464

6565
BaseApplication baseApplication = (BaseApplication) getApplication();
6666
TextToSpeech tts = baseApplication.getTTS();
67-
// tts.speak(letterSoundGson.getText(), TextToSpeech.QUEUE_FLUSH, null, "letter_sound_" + letterSoundGson.getId());
67+
tts.speak(letters, TextToSpeech.QUEUE_FLUSH, null, "letter_sound_" + letterSoundGson.getId());
6868

6969
// Report learning event to the Analytics application (https://github.com/elimu-ai/analytics)
7070
// LearningEventUtil.reportLetterSoundLearningEvent(letterSoundGson, LearningEventType.LETTER_SOUND_PRESSED, getApplicationContext(), BuildConfig.ANALYTICS_APPLICATION_ID);

0 commit comments

Comments
 (0)