diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-14 22:50:10 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-14 22:50:10 +0100 |
| commit | 06f2b2259f6bb1218e9ab345d6058913a72899d0 (patch) | |
| tree | a2809c57679b9d2a16587d51348d673cfb9cdaa2 /ImageViewer.qml | |
| parent | a24bb7cb1e2e25805243ce6d63dbc42cbce836ae (diff) | |
follow server cleanups
Diffstat (limited to 'ImageViewer.qml')
| -rw-r--r-- | ImageViewer.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ImageViewer.qml b/ImageViewer.qml index 186faeb..ef9857d 100644 --- a/ImageViewer.qml +++ b/ImageViewer.qml @@ -55,17 +55,17 @@ Page { asynchronous: true retainWhileLoading: true - source: apiRoot + "/sensor/image" + source: newApiRoot + "/sensor/image" width: flickable.contentWidth height: flickable.contentHeight function updateImage() { // console.log("updateImage. visible: ", visible) - if (image.source == apiRoot + "/sensor/image") - image.source = apiRoot + "/sensor/image2" + if (image.source == newApiRoot + "/sensor/image") + image.source = newApiRoot + "/sensor/image2" else - image.source = apiRoot + "/sensor/image" + image.source = newApiRoot + "/sensor/image" // console.log("\nflickImg.width: ", flickImg.width, // "\nflickImg.height: ", flickImg.height, |
