@tamagui/core 1.90.12 → 1.90.13

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
@@ -3717,7 +3717,7 @@ var require_ThemeManager_native = __commonJS({
3717
3717
  var prefix = base.slice(0, i).join(import_constants2.THEME_NAME_SEPARATOR);
3718
3718
  props.inverse && (prefix = inverseThemeName(prefix));
3719
3719
  var potentials = [];
3720
- if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3720
+ if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3721
3721
  var lastSegment = potentials.findIndex(function(x) {
3722
3722
  return !x.includes("_");
3723
3723
  });