[PATCH] QML UI: turn off spinner if pull-down-to-refresh fails

Rick Walsh rickmwalsh at gmail.com
Thu Jun 22 02:22:21 PDT 2017


Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---
I will try to work out how to do GitHub pull requests

 mobile-widgets/qml/DiveList.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index b97e6fb..a62b298 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -31,6 +31,8 @@ Kirigami.ScrollablePage {
 				refreshing = false
 			} else {
 				console.log("sync with cloud storage requested, but credentialStatus is " + manager.credentialStatus)
+				console.log("no syncing, turn off spinner")
+				refreshing = false
 			}
 		}
 	}
-- 
2.9.4



More information about the subsurface mailing list