diff --git a/app/src/main/java/org/schabi/newpipe/views/SeekBarMarker.java b/app/src/main/java/org/schabi/newpipe/views/SeekBarMarker.java index d71b895a3..b278484fe 100644 --- a/app/src/main/java/org/schabi/newpipe/views/SeekBarMarker.java +++ b/app/src/main/java/org/schabi/newpipe/views/SeekBarMarker.java @@ -6,7 +6,6 @@ public class SeekBarMarker { public double percentStart; public double percentEnd; public int color; - public Object tag; public SeekBarMarker(final double startTime, final double endTime, @@ -14,8 +13,8 @@ public class SeekBarMarker { final int color) { this.startTime = startTime; this.endTime = endTime; - this.percentStart = Math.round((startTime / maxTime) * 100.0) / 100.0; - this.percentEnd = Math.round((endTime / maxTime) * 100.0) / 100.0; + this.percentStart = ((startTime / maxTime) * 100.0) / 100.0; + this.percentEnd = ((endTime / maxTime) * 100.0) / 100.0; this.color = color; }