This commit is contained in:
Yuhang Zhao 2023-05-19 11:58:32 +08:00
parent de2cad679b
commit e4fdb9c260
1 changed files with 1 additions and 1 deletions

View File

@ -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"];