Skip to content

Commit

Permalink
fix: random crashes because of segments being less than 0 somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz committed Sep 5, 2024
1 parent a7dfb8f commit 226f6c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class PlayerViewModel(
chapters.add(
Segment(
name = title,
start = time.toFloat().coerceAtLeast(0f),
start = time.toFloat().coerceAtLeast(0.01f),
),
)
}
Expand Down

0 comments on commit 226f6c2

Please sign in to comment.