(cherry picked from commit cab863d62f)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
parent
57a9ff31bf
commit
da1b3dc71d
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