Merge branch 'master' into feature/configurable-colors

This commit is contained in:
caneleex 2021-07-28 13:31:37 +02:00
commit 70d477adbf

View File

@ -447,7 +447,7 @@ public abstract class SponsorBlockUtils {
}
public static String getTimeWithoutSegments(SponsorSegment[] sponsorSegmentsOfCurrentVideo) {
long currentVideoLength = PlayerController.getCurrentVideoLength();
long currentVideoLength = getCurrentVideoLength();
if (!isSettingEnabled(showTimeWithoutSegments) || sponsorSegmentsOfCurrentVideo == null || currentVideoLength == 1) {
return "";
}