tamagui 1.74.0 → 1.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/native.js +1 -1
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +1 -1
- package/dist/test.native.js.map +2 -2
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -3664,7 +3664,7 @@ If this is intended and you are using Tamagui without any themes, you can disabl
|
|
|
3664
3664
|
let selfListenerDispose = themeManager.onChangeTheme((_a, _b, forced) => {
|
|
3665
3665
|
forced && setThemeState((prev) => createState(prev, !0));
|
|
3666
3666
|
}), disposeChangeListener = parentManager == null ? void 0 : parentManager.onChangeTheme((name, manager) => {
|
|
3667
|
-
let force = (shouldUpdate == null ? void 0 : shouldUpdate()) || props.deopt || props["disable-child-theme"], doUpdate = force ?? !!(keys != null && keys.length);
|
|
3667
|
+
let force = (shouldUpdate == null ? void 0 : shouldUpdate()) || props.deopt || props["disable-child-theme"], doUpdate = force ?? !!(keys != null && keys.length || isNewTheme);
|
|
3668
3668
|
process.env.NODE_ENV === "development" && props.debug && console.log(" \u{1F538} onChange", themeManager.id, {
|
|
3669
3669
|
force,
|
|
3670
3670
|
doUpdate,
|