fix(chapters): sort chapter list entries, localize strings, fix tick keys

This commit is contained in:
Uruk
2026-05-22 12:06:53 +02:00
parent e649414e3f
commit 87b181b66f
5 changed files with 50 additions and 9 deletions

View File

@@ -30,9 +30,9 @@ export function ChapterTicks({
pointerEvents='none'
style={{ position: "absolute", left: 0, right: 0, top: 0, bottom: 0 }}
>
{markers.map((marker) => (
{markers.map((marker, index) => (
<View
key={marker.positionMs}
key={`${marker.positionMs}-${index}`}
style={{
position: "absolute",
left: `${marker.percent}%`,