ui: Mac-Window + Konto-Header nach erstem TestFlight-Build
- WebShellView füllt Window-Höhe explizit (.frame(maxWidth: .infinity, maxHeight: .infinity)) — sonst hatte WKWebView auf Mac einen Rest-Spalt, der den Web-Footer abschnitt. - RootView TabBar-Hintergrund: Paper-Background auf Window-Toolbar (macOS-only via #if os(macOS), windowToolbar-Placement existiert unter iOS nicht). Title-Bar passt jetzt zum Content statt System-Grau. - AccountView Header: SF Symbol "quote.opening" durch eine einzelne, zentrierte Öffnungs-Anführung in Georgia-Bold ersetzt. Die SF- Doppelglyphe war asymmetrisch positioniert, sieht jetzt sauber aus. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
10644ff4ef
commit
bc01c0ff12
3 changed files with 20 additions and 3 deletions
|
|
@ -30,6 +30,15 @@ struct RootView: View {
|
|||
.tabItem { Label("Konto", systemImage: "person.circle") }
|
||||
.tag(AppTab.account)
|
||||
}
|
||||
// Mac-Window-Hintergrund auf Paper-Theme setzen, damit der
|
||||
// TabBar-/Title-Bar-Bereich oben nicht mit dem System-Grau
|
||||
// gegen das Paper-Theme ausreißt. `windowToolbar`-Placement
|
||||
// ist macOS-only.
|
||||
.background(ZitareTheme.background.ignoresSafeArea())
|
||||
#if os(macOS)
|
||||
.toolbarBackground(ZitareTheme.background, for: .windowToolbar)
|
||||
.toolbarBackground(.visible, for: .windowToolbar)
|
||||
#endif
|
||||
.task {
|
||||
await probeHealth()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue