mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-08 04:09:15 -04:00
Wait for location capability before requesting state (#2476)
This commit is contained in:
@@ -7,7 +7,7 @@ import Quickshell
|
||||
Singleton {
|
||||
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
|
||||
|
||||
property var latitude: 0.0
|
||||
|
||||
Reference in New Issue
Block a user