From 92fbdd727d35bfb423586476211fcea89f84cd03 Mon Sep 17 00:00:00 2001 From: Shiba <44804845+DeepDoge@users.noreply.github.com> Date: Tue, 25 Jan 2022 16:42:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=98=20updater=20wasn't=20working=20on?= =?UTF-8?q?=20settings=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/ytContent.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index 482c602..6888d5e 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -95,6 +95,7 @@ async function requestLbryPathname(videoId: string) { if (areaName !== 'local') return Object.assign(settings, Object.fromEntries(Object.entries(changes).map(([key, change]) => [key, change.newValue]))) if (changes.redirect) await onModeChange() + await updater() }) /* @@ -174,8 +175,6 @@ async function requestLbryPathname(videoId: string) { updateButton(mountPoint, target) } } - - await updater() } await onModeChange()