@ajuarezso/capacitor-liquid-glass 0.3.6 → 0.3.7

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.
@@ -206,7 +206,13 @@ final class LiquidGlassTabBarOverlay: UIViewController {
206
206
  tabBar.selectedItem = uiItems[selectedIndex]
207
207
  }
208
208
 
209
- if let tintHex, let tint = UIColor(hex: tintHex) {
209
+ // tintColor SOLO se aplica para estilos override (`.ultraThin`,
210
+ // `.transparent`). En `.default` / `.liquidGlass` iOS 26 aplica su
211
+ // propio tint nativo automático como parte del material Liquid Glass.
212
+ // Sobreescribirlo con un color custom (incluso brand) rompe el balance
213
+ // del material y produce un look híbrido en vez del adopt puro.
214
+ if style == .ultraThin || style == .transparent,
215
+ let tintHex, let tint = UIColor(hex: tintHex) {
210
216
  tabBar.tintColor = tint
211
217
  }
212
218
  emitLayout()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ajuarezso/capacitor-liquid-glass",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "iOS 26 Liquid Glass native chrome (TabBar, NavigationBar, Alerts, Sheets) for Capacitor apps. Falls back gracefully on iOS < 26 and Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",