void show_error_message(VoiceData *vd, stt_error_e reason)
{
if (reason == STT_ERROR_OUT_OF_NETWORK) {
- show_popup_toast(_(SK_NETWORK_ERROR), false);
+ set_guide_text(vd, _(SK_NETWORK_ERROR));
vd->state = STT_STATE_VAL_INIT;
} else if (reason == STT_ERROR_RECORDER_BUSY) {
- show_popup_toast(_(SK_STT_BUSY), false);
+ set_guide_text(vd, _(SK_STT_BUSY));
vd->state = STT_STATE_VAL_INIT;
} else {
- show_popup_toast(_(SK_STT_BUSY), false);
+ set_guide_text(vd, _(SK_STT_BUSY));
vd->state = STT_STATE_VAL_INIT;
}
}