summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 16:56:26 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 16:56:26 +1000
commit722362293362d792ee582341ecb21c0c689f26d5 (patch)
tree3c684bd3ce69b945a159ae75b8995f0c9c76cc9b /services
parentlock: completely hide media if screen too small (diff)
downloadcaelestia-shell-722362293362d792ee582341ecb21c0c689f26d5.tar.gz
caelestia-shell-722362293362d792ee582341ecb21c0c689f26d5.tar.bz2
caelestia-shell-722362293362d792ee582341ecb21c0c689f26d5.zip
weather: fix ipinfo undef err
Diffstat (limited to 'services')
-rw-r--r--services/Weather.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Weather.qml b/services/Weather.qml
index 29858eb..998fdb8 100644
--- a/services/Weather.qml
+++ b/services/Weather.qml
@@ -29,7 +29,7 @@ Singleton {
command: ["curl", "ipinfo.io"]
stdout: StdioCollector {
- onStreamFinished: root.loc = JSON.parse(text).loc
+ onStreamFinished: root.loc = JSON.parse(text).loc ?? ""
}
}