mobile UI: re-enable download status when restarting download

When tapping on 'retry' we didn't clear the flag that decided which message to
display.

Fixes: #2651

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-03-07 15:15:37 -08:00
parent 4e51af7d62
commit b92b5998ff
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
Mobile-android: Add usb-serial-for-android driver support
Mobile: fix missing download info on retry
Mobile: enable profile zoom and pan
Mobile: add people- and tags-filter modes
Desktop: fix tab-order in filter widget

View file

@ -329,6 +329,7 @@ Kirigami.Page {
message += " downloading " + (manager.DC_forceDownload ? "all" : "only new" ) + " dives";
manager.appendTextToLog(message)
progressBar.visible = true
divesDownloaded = false // this allows the progressMessage to be displayed
importModel.startDownload()
}
}