on xenial help sign in
Only show info text once checking is done, and if no network, set isChecking to false
commit69948b1b081b09198fe00cfa60be8f0011320eb5 authorMarius Gripsgard <marius@ubports.com> dateWed 15 Aug 2018, 22:45 (8 years ago) parent12f1cca
1 file changed+7−3
qml/Wizard/Pages/78-firmware-update.qml+7−3
qml/Wizard/Pages/78-firmware-update.qml+7−3
@@ -100,6 +100,7 @@ LocalComponents.Page {
100100 }
101101
102102 Label {
103+ visible: !systemUpdatePage.isChecking
103104 anchors.horizontalCenter: parent.horizontalCenter
104105 font.weight: Font.Light
105106 wrapMode: Text.Wrap
@@ -213,17 +214,20 @@ LocalComponents.Page {
213214 Component.onCompleted: {
214215 if (online)
215216 systemUpdatePage.check();
217+ else
218+ systemUpdatePage.isChecking = false;
216219 }
217220 }
218221
219222 Connections {
220223 target: NetworkingStatus
221224 onOnlineChanged: {
222− if (online) {
223− systemUpdatePage.check()
225+ if (online)
226+ systemUpdatePage.check();
227+ else
228+ systemUpdatePage.isChecking = false;
224229 }
225230 }
226− }
227231
228232 Component {
229233 id: forwardButton