Fixed build error because of incompatible merge

This commit is contained in:
ByteHamster 2021-05-14 21:40:49 +02:00
parent fcb75fc382
commit 342ed92994
1 changed files with 3 additions and 3 deletions

View File

@ -195,9 +195,9 @@ public class CoverFragment extends Fragment {
} else if ((controller.getPosition() - 10000 * controller.getCurrentPlaybackSpeedMultiplier())
< curr.getStart()) {
refreshChapterData(displayedChapterIndex - 1);
controller.seekToChapter(media.getChapters().get(displayedChapterIndex));
controller.seekTo((int) media.getChapters().get(displayedChapterIndex).getStart());
} else {
controller.seekToChapter(curr);
controller.seekTo((int) curr.getStart());
}
}
@ -208,7 +208,7 @@ public class CoverFragment extends Fragment {
}
refreshChapterData(displayedChapterIndex + 1);
controller.seekToChapter(media.getChapters().get(displayedChapterIndex));
controller.seekTo((int) media.getChapters().get(displayedChapterIndex).getStart());
}
@Override