Merge pull request #5223 from jonasburian/issue-seekbar-highlighting

Highlighted seek bar while seeking on episode without chapters
This commit is contained in:
ByteHamster 2021-06-16 23:25:10 +02:00 committed by GitHub
commit 90753cb8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public class AudioPlayerFragment extends Fragment implements
float[] dividerPos = null;
if (media.getChapters() != null) {
if (media.getChapters() != null && !media.getChapters().isEmpty()) {
List<Chapter> chapters = media.getChapters();
dividerPos = new float[chapters.size()];