remove unnecessary class ref
This commit is contained in:
parent
115586b2fb
commit
7c7bfb4fc4
|
@ -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 "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue