Merge branch 'main' of https://github.com/noctalia-dev/noctalia-shell
This commit is contained in:
commit
0f5bbb961d
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ Singleton {
|
||||||
property var lastCommand: []
|
property var lastCommand: []
|
||||||
|
|
||||||
function apply() {
|
function apply() {
|
||||||
|
// If using LocationService, wait for it to be ready
|
||||||
|
if (params.autoSchedule && !LocationService.coordinatesReady) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var command = buildCommand()
|
var command = buildCommand()
|
||||||
|
|
||||||
// Compare with previous command to avoid unecessary restart
|
// Compare with previous command to avoid unecessary restart
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue