chore: remove deprecated systemPreferences.isAeroGlassEnabled()
(#45563)
This commit is contained in:
parent
670e0ca076
commit
22b7403cd1
5 changed files with 11 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue