mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-19 06:23:07 -04:00
Follow up for !1424 With the previous implementation getPercent(1, 200)` returned 1 and getPercent(199, 200) returned 100. The latter is quite misleading, especially when dealing with bigger numbers where the notification could show 100% although the file is still downloading.