Location: should fix edge case of location data being not ready on time
This commit is contained in:
parent
3f0374e1f2
commit
6ecbdda121
6 changed files with 51 additions and 45 deletions
|
|
@ -329,7 +329,7 @@ ColumnLayout {
|
|||
|
||||
NToggle {
|
||||
label: "Automatic Scheduling"
|
||||
description: `Based on the sunset and sunrise time in <i>${LocationService.data.stableName}</i> - recommended.`
|
||||
description: `Based on the sunset and sunrise time in <i>${LocationService.stableName}</i> - recommended.`
|
||||
checked: Settings.data.nightLight.autoSchedule
|
||||
onToggled: checked => Settings.data.nightLight.autoSchedule = checked
|
||||
visible: Settings.data.nightLight.enabled
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
NText {
|
||||
visible: LocationService.data.coordinatesReady
|
||||
text: `${LocationService.data.stableName} (${LocationService.displayCoordinates})`
|
||||
visible: LocationService.coordinatesReady
|
||||
text: `${LocationService.stableName} (${LocationService.displayCoordinates})`
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
color: Color.mOnSurfaceVariant
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue