From cab863d62fa9da96750b0015cb54b680c0e2b433 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Thu, 12 Jan 2023 10:58:05 +0200 Subject: [PATCH] Add back wrongly removed Ephemeral.theme assignment (#6959) --- app/utils/theme/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/theme/index.ts b/app/utils/theme/index.ts index 1c55889a1..519b3fcae 100644 --- a/app/utils/theme/index.ts +++ b/app/utils/theme/index.ts @@ -278,6 +278,7 @@ export function setThemeDefaults(theme: ExtendedTheme): Theme { export const updateThemeIfNeeded = (theme: Theme, force = false) => { const storedTheme = EphemeralStore.theme; if (!deepEqual(theme, storedTheme) || force) { + EphemeralStore.theme = theme; requestAnimationFrame(() => { setNavigationStackStyles(theme); });