Skip to content

Commit c6412e8

Browse files
committed
Consider duration 0 as duration not known
1 parent c6df92a commit c6412e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/ui/components/menu/LongPressable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ data class LongPressable(
3737
if (streamType == LIVE_STREAM || streamType == AUDIO_LIVE_STREAM) {
3838
Live
3939
} else {
40-
duration.takeIf { it >= 0 }?.let { Duration(it) }
40+
duration.takeIf { it > 0 }?.let { Duration(it) }
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)