@tamagui/core 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 CHANGED
@@ -4305,7 +4305,7 @@ If this is intended and you are using Tamagui without any themes, you can disabl
4305
4305
  let selfListenerDispose = themeManager.onChangeTheme((_a, _b, forced) => {
4306
4306
  forced && setThemeState((prev) => createState(prev, !0));
4307
4307
  }), disposeChangeListener = parentManager == null ? void 0 : parentManager.onChangeTheme((name, manager) => {
4308
- let force = (shouldUpdate == null ? void 0 : shouldUpdate()) || props.deopt || props["disable-child-theme"], doUpdate = force ?? !!(keys != null && keys.length);
4308
+ let force = (shouldUpdate == null ? void 0 : shouldUpdate()) || props.deopt || props["disable-child-theme"], doUpdate = force ?? !!(keys != null && keys.length || isNewTheme);
4309
4309
  process.env.NODE_ENV === "development" && props.debug && console.log(" \u{1F538} onChange", themeManager.id, {
4310
4310
  force,
4311
4311
  doUpdate,