0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00

Fix default quality

This commit is contained in:
dragongoose 2023-10-21 12:37:58 -04:00
parent f3a0154fc4
commit a21ba5eb21
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -48,7 +48,7 @@ export const createQualitySelector = (player: any) => {
// set quality on startup
const startingQuality = getSetting('defaultQuality')
const id = formatedQualities.find((i) => i.name === startingQuality)?.id
const id = formatedQualities.find((i) => i.name.includes(startingQuality))?.id
setQuality(id)
return qualitySelectorButton