Skip to content
Snippets Groups Projects

macosx: Include NSAppearanceNameVibrantDark in dark mode detection, fixing borked labels

@@ -30,7 +30,8 @@
- (BOOL)shouldShowDarkAppearance
{
if (@available(macOS 10_14, *)) {
if ([self.effectiveAppearance.name isEqualToString:NSAppearanceNameDarkAqua]) {
if ([self.effectiveAppearance.name isEqualToString:NSAppearanceNameDarkAqua] ||
[self.effectiveAppearance.name isEqualToString:NSAppearanceNameVibrantDark]) {
return YES;
}
}
Loading