piggz / harbour-amazfish

Amazfit Bip support for SailfishOS
GNU General Public License v3.0
103 stars 51 forks source link

downloadProgress should report also 100% #300

Closed jmlich closed 10 months ago

jmlich commented 10 months ago

Current implementation reports progress only during upload, but not after the transfer is finished.

The condition while (written < resourceData.size()) does not cover the written == resourceData.size() case.

WIP: I need to test it better. I am very sure that progress indicator shows 99% and pinetime already reboots.