From 6025fe6d4128df6a2005c5808c64fb0de5d3eecd Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Tue, 7 Jul 2026 01:53:08 -0700 Subject: [PATCH] nvrsion: Add revert logic to Sources/NucleicApp/BuildBanner.swift, Sources/NucleicApp/ToolbarGlassKeeper.swift, and ios/NucleicRemote/NucleicRemote/Views/BuildBanner.swift to restore prior state, and fix sidebar color distortion in Sources/NucleicApp/RootView.swift. Nucleic-Promote: 1 Co-authored-by: Nucleic --- .../NucleicRemote/Views/BuildBanner.swift | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift index 426cc4f..8e0372b 100644 --- a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift +++ b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift @@ -83,11 +83,11 @@ struct BuildInfo { } } -/// Header warning that this is a non-release build — the same channel colors, icons, and copy -/// as the Mac's `BuildBanner`. A channel-colored stripe — red for local builds, canary-yellow -/// for canary, blue for beta, gold for a release candidate — spans the full width, with its -/// content (channel name, build label, and an all-caps "EXPERIMENTAL" pill) held at the -/// leading edge. Renders nothing for a shipping App Store release. +/// Header strip warning that this is a non-release build — the same channel colors, icons, +/// and copy as the Mac's `BuildBanner`: red for local builds, canary-yellow for canary, blue +/// for beta, gold for a release candidate. The leading edge names the channel; the build +/// label and an all-caps "EXPERIMENTAL" badge sit on the trailing edge. Renders nothing for +/// a shipping App Store release. struct BuildBanner: View { var info: BuildInfo = .current @@ -95,7 +95,7 @@ struct BuildBanner: View { if let style = Style(channel: info.channel) { HStack(spacing: 8) { Image(systemName: style.icon) - .font(.system(size: 12, weight: .heavy)) + .font(.system(size: 15, weight: .heavy)) Text(style.label) .font(.footnote.weight(.semibold)) .lineLimit(1) @@ -112,12 +112,9 @@ struct BuildBanner: View { } .foregroundStyle(.white.opacity(0.92)) .padding(.horizontal, 12) - .padding(.vertical, 3) - .frame(maxWidth: .infinity, alignment: .leading) - // The channel-colored stripe fills the full width and height of the top area, with - // the content (channel name, build label, and the EXPERIMENTAL pill) laid across it - // — the channel name at the leading edge, the build label and pill at the trailing. - .background(style.tint.opacity(0.9)) + .padding(.vertical, 5) + .frame(maxWidth: .infinity) + .background(style.tint.opacity(0.5)) .accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel)) } }