mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍘 updater wasn't working on settings change
This commit is contained in:
parent
6ef5459d7a
commit
92fbdd727d
1 changed files with 1 additions and 2 deletions
|
@ -95,6 +95,7 @@ async function requestLbryPathname(videoId: string) {
|
||||||
if (areaName !== 'local') return
|
if (areaName !== 'local') return
|
||||||
Object.assign(settings, Object.fromEntries(Object.entries(changes).map(([key, change]) => [key, change.newValue])))
|
Object.assign(settings, Object.fromEntries(Object.entries(changes).map(([key, change]) => [key, change.newValue])))
|
||||||
if (changes.redirect) await onModeChange()
|
if (changes.redirect) await onModeChange()
|
||||||
|
await updater()
|
||||||
})
|
})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -174,8 +175,6 @@ async function requestLbryPathname(videoId: string) {
|
||||||
updateButton(mountPoint, target)
|
updateButton(mountPoint, target)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await updater()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
await onModeChange()
|
await onModeChange()
|
||||||
|
|
Loading…
Add table
Reference in a new issue