Fixed initial tray icon color on macOS dark theme.

This commit is contained in:
23rd
2026-04-03 13:34:05 +03:00
parent 90ec66c34c
commit 8de878693d
@@ -174,7 +174,7 @@ void UpdateIcon(const NSStatusItem *status) {
return;
}
const auto appearance = status.button.effectiveAppearance;
const auto appearance = [NSApp effectiveAppearance];
const auto darkMode = [[appearance.name lowercaseString]
containsString:@"dark"];