@tamagui/core 1.118.2 → 1.118.3

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
@@ -3765,7 +3765,8 @@ If this is intended and you are using Tamagui without any themes, you can disabl
3765
3765
  return !1;
3766
3766
  }
3767
3767
  function hasFixedSchemeParent(manager) {
3768
- return manager == null ? void 0 : manager.getParents().slice(1).some(function(x) {
3768
+ var parents = (manager == null ? void 0 : manager.getParents()) || [];
3769
+ return parents.slice(0, parents.length - 1).some(function(x) {
3769
3770
  return x.state.isSchemeFixed;
3770
3771
  });
3771
3772
  }