Remove redundant theme synchronization call in LightDarkSwitcherExtension. Fix #89
This commit is contained in:
parent
8b8958d161
commit
b1670dfd48
|
@ -72,8 +72,6 @@ export default class LightDarkSwitcherExtension extends Extension {
|
||||||
'changed::color-scheme',
|
'changed::color-scheme',
|
||||||
() => this._syncTheme()
|
() => this._syncTheme()
|
||||||
);
|
);
|
||||||
|
|
||||||
this._syncTheme();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
disable() {
|
disable() {
|
||||||
|
|
Loading…
Reference in New Issue