Add back wrongly removed Ephemeral.theme assignment (#6959)
This commit is contained in:
parent
5125db1d69
commit
cab863d62f
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue