Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix: in Dark Mode, text and checkboxes no longer turn white on Cicada's white cards

wquguru3e2cb8687fff
diff --git a/Sources/Cicada/AppModel.swift b/Sources/Cicada/AppModel.swift
index 8528cf2..6454d92 100644
--- a/Sources/Cicada/AppModel.swift
+++ b/Sources/Cicada/AppModel.swift
@@ -2357,6 +2357,8 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate, UNUs
private lazy var mainToolbar = MainToolbar(model: model)
func applicationDidFinishLaunching(_ notification: Notification) {
+ // The palette is light only: in Dark Mode unstyled text and checkboxes turn white on white cards.
+ NSApp.appearance = NSAppearance(named: .aqua)
NSApp.setActivationPolicy(model.settings.showInDock ? .regular : .accessory)
menu.showMainWindow = { [weak self] in self?.showMainWindow() }
menu.showOnboarding = { [weak self] in self?.showOnboarding() }