mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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