Skip to content

Commit

Permalink
Selecting transcript will always show subtitle in listening comp mode
Browse files Browse the repository at this point in the history
  • Loading branch information
arianneorpilla committed Mar 13, 2023
1 parent 1fa1651 commit 48b613f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yuuna/lib/src/pages/implementations/player_source_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ class _PlayerSourcePageState extends BaseSourcePageState<PlayerSourcePage>
_subtitleItem.controller.subtitles[index].start -
subtitleDelay);
_bufferingNotifier.value = true;
_listeningSubtitle.value = getNearestSubtitle();
_listeningSubtitle.value =
_subtitleItem.controller.subtitles[index];
},
onLongPress: (index) async {
Navigator.pop(context);
Expand Down

0 comments on commit 48b613f

Please sign in to comment.