chore: remove deprecated systemPreferences.isAeroGlassEnabled() (#45563)

This commit is contained in:
Milan Burda 2025-02-19 01:59:00 +01:00 committed by GitHub
parent 670e0ca076
commit 22b7403cd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 26 deletions

View file

@ -20,12 +20,4 @@ if ('accessibilityDisplayShouldReduceTransparency' in systemPreferences) {
});
}
if (process.platform === 'win32') {
const isAeroGlassEnabledDeprecated = deprecate.warnOnce('systemPreferences.isAeroGlassEnabled');
systemPreferences.isAeroGlassEnabled = () => {
isAeroGlassEnabledDeprecated();
return true;
};
}
export default systemPreferences;