tamagui 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
@@ -3814,7 +3814,7 @@ var require_ThemeManager_native = __commonJS({
3814
3814
  var prefix = base.slice(0, i).join(import_constants22.THEME_NAME_SEPARATOR);
3815
3815
  props.inverse && (prefix = inverseThemeName(prefix));
3816
3816
  var potentials = [];
3817
- if (prefix && prefix !== baseName && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3817
+ if (prefix && prefix !== baseName && prefix.includes(nextName) && potentials.push(prefix), nextName && potentials.unshift(prefix ? "".concat(prefix, "_").concat(nextName) : nextName), i === 1) {
3818
3818
  var lastSegment = potentials.findIndex(function(x) {
3819
3819
  return !x.includes("_");
3820
3820
  });