Commit a6ad33b3d7ce3ca4e87b4092cd6252d6a99a215d
1 parent
3e72c6ce
feat:绘本评测结果toast时长修改
Showing
1 changed file
with
2 additions
and
2 deletions
lib/pages/reading/bloc/reading_bloc.dart
... | ... | @@ -309,12 +309,12 @@ class ReadingPageBloc extends Bloc<ReadingPageEvent, ReadingPageState> { |
309 | 309 | Log.d("_voiceXsResult result=$result"); |
310 | 310 | final overall = result['overall'].toString(); |
311 | 311 | EasyLoading.showToast('测评成功,分数是$overall', |
312 | - duration: const Duration(seconds: 10)); | |
312 | + duration: const Duration(seconds: 2)); | |
313 | 313 | currentPageData()?.recordScore = overall; |
314 | 314 | currentPageData()?.recordUrl = args['audioUrl'] + '.mp3'; |
315 | 315 | ///完成录音后紧接着播放录音 |
316 | 316 | _playRecordAudioInner(); |
317 | - emitter(FeedbackState()); | |
317 | + // emitter(FeedbackState()); | |
318 | 318 | } |
319 | 319 | |
320 | 320 | ///终止评测 | ... | ... |