From cd676d336fd3924d676bc2c884bb34b29a91fbd8 Mon Sep 17 00:00:00 2001 From: lzhgus Date: Sat, 11 Apr 2026 07:34:22 -0700 Subject: [PATCH] fix: recording toolbar icons invisible in Light mode Force .dark colorScheme on the recording toolbar since it uses a manually dark background (.black.opacity(0.8)). Without this, SwiftUI resolves .white differently in Light mode, making disabled icons nearly invisible. Fixes #5 --- App/Sources/Recording/RecordingToolbar.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/App/Sources/Recording/RecordingToolbar.swift b/App/Sources/Recording/RecordingToolbar.swift index bfb7986..d8b615a 100644 --- a/App/Sources/Recording/RecordingToolbar.swift +++ b/App/Sources/Recording/RecordingToolbar.swift @@ -138,6 +138,10 @@ struct RecordingToolbarView: View { .stroke(.white.opacity(0.1), lineWidth: 0.5) ) .shadow(color: .black.opacity(0.5), radius: 12, y: 6) + // Force dark appearance so `.white` always resolves to true + // white — the toolbar has a dark background regardless of the + // system color scheme. + .environment(\.colorScheme, .dark) } // MARK: - Mic Menu