remove unnecessary class ref

This commit is contained in:
caneleex 2021-07-28 13:31:27 +02:00
parent bfcd548d80
commit eceea24b70

View File

@ -409,7 +409,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 "";
}