mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-07 19:59:14 -04:00
Wait for location capability before requesting state (#2476)
This commit is contained in:
@@ -7,7 +7,7 @@ import Quickshell
|
|||||||
Singleton {
|
Singleton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
readonly property bool locationAvailable: DMSService.isConnected && (DMSService.capabilities.length === 0 || DMSService.capabilities.includes("location"))
|
readonly property bool locationAvailable: DMSService.isConnected && DMSService.capabilities.includes("location")
|
||||||
readonly property bool valid: latitude !== 0 || longitude !== 0
|
readonly property bool valid: latitude !== 0 || longitude !== 0
|
||||||
|
|
||||||
property var latitude: 0.0
|
property var latitude: 0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user