Apply current variant on enable
This commit is contained in:
@@ -62,6 +62,8 @@ var Switcher = class {
|
|||||||
this.time.enable();
|
this.time.enable();
|
||||||
this.time.subscribe(this._on_time_changed.bind(this));
|
this.time.subscribe(this._on_time_changed.bind(this));
|
||||||
|
|
||||||
|
this.theme.set_variant(this.time.current);
|
||||||
|
|
||||||
log_debug('Extension enabled.');
|
log_debug('Extension enabled.');
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user