mobile/cleanup: fix whitespace and remove verbose messages

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-04-03 15:21:24 -07:00
parent 001fb7f4fa
commit 35080aad98

View file

@ -174,7 +174,7 @@ Kirigami.Page {
dc1.enabled = dc2.enabled = dc3.enabled = dc4.enabled = true dc1.enabled = dc2.enabled = dc3.enabled = dc4.enabled = true
for (var i = 1; i < 5; i++) { for (var i = 1; i < 5; i++) {
switch (i) { switch (i) {
case 1: case 1:
curVendor = PrefDiveComputer.vendor1 curVendor = PrefDiveComputer.vendor1
curProduct = PrefDiveComputer.product1 curProduct = PrefDiveComputer.product1
curDevice = PrefDiveComputer.device1 curDevice = PrefDiveComputer.device1
@ -237,7 +237,7 @@ Kirigami.Page {
} }
function disableDC(inx) { function disableDC(inx) {
switch (inx) { switch (inx) {
case 1: case 1:
dc1.enabled = false dc1.enabled = false
break; break;
case 2: case 2:
@ -468,15 +468,12 @@ Kirigami.Page {
// it's important to save the changes because the app could get killed once // it's important to save the changes because the app could get killed once
// it's in the background - and the freshly downloaded dives would get lost // it's in the background - and the freshly downloaded dives would get lost
manager.saveChangesLocal() manager.saveChangesLocal()
manager.appendTextToLog("pageStack popping Download page")
pageStack.pop() pageStack.pop()
manager.appendTextToLog("pageStack switching to dive list")
showDiveList() showDiveList()
download.text = qsTr("Download") download.text = qsTr("Download")
busy = false busy = false
rootItem.hideBusy() rootItem.hideBusy()
divesDownloaded = false divesDownloaded = false
manager.appendTextToLog("switch to dive list has completed")
} }
} }
Controls.Label { Controls.Label {