mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Fix default quality
This commit is contained in:
parent
f3a0154fc4
commit
a21ba5eb21
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue