Bottom Tab Bar Visibility Adjustment

Nucleic-Session: 747527BF-AEE9-4939-BE70-A14F1F3BBBA8
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 16:24:10 -07:00
co-authored by Nucleic
parent b1ebd202e5
commit 98d302c41d
@@ -354,6 +354,22 @@ struct GlassSurface: ViewModifier {
}
}
/// A circular Liquid Glass backing for a floating round control (the New-chat FAB). Real
/// interactive `glassEffect` on iOS 26; an ultra-thin material disc with a hairline edge and a
/// soft shadow on earlier systems so it still lifts off the list.
struct GlassCircle: ViewModifier {
func body(content: Content) -> some View {
if #available(iOS 26.0, *) {
content.glassEffect(.regular.interactive(), in: .circle)
} else {
content
.background(.ultraThinMaterial, in: .circle)
.overlay(Circle().strokeBorder(Color.primary.opacity(0.08), lineWidth: 1))
.shadow(color: .black.opacity(0.2), radius: 6, y: 2)
}
}
}
/// A lifted card surface with a hairline border — the mobile echo of `AppTheme.surface`.
struct CardBackground: ViewModifier {
var padding: CGFloat = 14