fix: systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance() (#26852)
This commit is contained in:
parent
b788ceb7bd
commit
ee0550efca
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if ('getAppLevelAppearance' in systemPreferences) {
|
|||
}
|
||||
|
||||
if ('getEffectiveAppearance' in systemPreferences) {
|
||||
const nativeEAGetter = systemPreferences.getAppLevelAppearance;
|
||||
const nativeEAGetter = systemPreferences.getEffectiveAppearance;
|
||||
Object.defineProperty(systemPreferences, 'effectiveAppearance', {
|
||||
get: () => nativeEAGetter.call(systemPreferences)
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue