mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Fixed initial tray icon color on macOS dark theme.
This commit is contained in:
@@ -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"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user