Skip to content

feat: use Liquid Glass effect on iOS/macOS 26+#4

Merged
patro85 merged 1 commit into
masterfrom
feat/glass-effect-os26
Jun 1, 2026
Merged

feat: use Liquid Glass effect on iOS/macOS 26+#4
patro85 merged 1 commit into
masterfrom
feat/glass-effect-os26

Conversation

@patro85

@patro85 patro85 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

What

Renders the toast background with SwiftUI's .glassEffect(in: .rect(cornerRadius: 16)) on iOS 26 / macOS 26+, falling back to the existing solid-color / BlurView background on earlier OS versions. Gated behind if #available(iOS 26, macOS 26, *).

Why

Adopts the native Liquid Glass material so the toast matches the system look on the latest OSes.

Credit

Based on @lfuelling's PR elai950#112.

Verification

swift build passes on Xcode 26.5 (SDK 26.5).

🤖 Generated with Claude Code

On iOS 26 / macOS 26 and later, render the toast background with
`.glassEffect(in:)` for a native Liquid Glass look. Earlier OS versions
keep the existing solid-color / BlurView background. Fully gated behind
`if #available(iOS 26, macOS 26, *)`.

Based on lfuelling's elai950#112.

Co-Authored-By: lfuelling <lfuelling@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@patro85 patro85 merged commit 56ae249 into master Jun 1, 2026
@patro85 patro85 deleted the feat/glass-effect-os26 branch June 1, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants