refactor
This commit is contained in:
parent
de2cad679b
commit
e4fdb9c260
|
@ -431,7 +431,7 @@ public Q_SLOTS:
|
|||
return;
|
||||
}
|
||||
const auto view = static_cast<NSVisualEffectView *>(blurEffect);
|
||||
if (Utils::shouldAppsUseDarkMode()) {
|
||||
if (FramelessManager::instance()->systemTheme() == SystemTheme::Dark) {
|
||||
view.appearance = [NSAppearance appearanceNamed:@"NSAppearanceNameVibrantDark"];
|
||||
} else {
|
||||
view.appearance = [NSAppearance appearanceNamed:@"NSAppearanceNameVibrantLight"];
|
||||
|
|
Loading…
Reference in New Issue