fix(apple/iOS): inline-large header — title and action circles share the bar row
ci / rust (push) Has been cancelled
ci / rust (push) Has been cancelled
The home screen stacked the toolbar row above the large title; the modern (iOS 26 Liquid Glass) header puts the large title leading and the glass action circles trailing on the SAME row. That's exactly .toolbarTitleDisplayMode(.inlineLarge) — applied on iOS only, macOS keeps its window chrome untouched. Verified in the iPhone 17 simulator: "punktfunk" large title left, gear/+ circles right, one row. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,11 @@ struct ContentView: View {
|
||||
}
|
||||
}
|
||||
.navigationTitle("punktfunk")
|
||||
#if os(iOS)
|
||||
// Liquid-glass header: the large title shares the bar row with the action
|
||||
// circles instead of stacking under them.
|
||||
.toolbarTitleDisplayMode(.inlineLarge)
|
||||
#endif
|
||||
.toolbar {
|
||||
#if os(iOS)
|
||||
// Each action gets its own full-size glass circle (system-app style)
|
||||
|
||||
Reference in New Issue
Block a user