Location source: Emit the time-changed signal when enabling

This commit is contained in:
Romain Vigier
2022-08-30 09:59:24 +02:00
parent 9de4020497
commit c5487f7278
+1
View File
@@ -49,6 +49,7 @@ var SourceLocation = class extends Source {
this.#connectToGeoclue();
this.#watchForTimeChange();
this.#regularlyUpdateSuntimes();
this.emit('time-changed', this.time);
debug.message('Location source enabled.');
}