feat: replace content item dropdowns with sheets (#968)

This commit is contained in:
lostb1t
2025-08-21 17:19:53 +02:00
committed by GitHub
parent 576a820c0c
commit 2d69bd5103
8 changed files with 336 additions and 40 deletions

View File

@@ -26,7 +26,11 @@ const useDefaultPlaySettings = (
)?.Index;
// 4. Get default bitrate from settings or fallback to max
const bitrate = settings?.defaultBitrate ?? BITRATES[0];
let bitrate = settings?.defaultBitrate ?? BITRATES[0];
// value undefined seems to get lost in settings. This is just a failsafe
if (bitrate.key === BITRATES[0].key) {
bitrate = BITRATES[0];
}
return {
defaultAudioIndex: