fix: fix proportion calculation (#1420)

pull/1593/head
ggurdin 10 months ago committed by GitHub
parent 0aaf2d6bca
commit 6cb6b7ebac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -582,7 +582,7 @@ class PangeaMessageEvent {
) )
.length; .length;
final double proportion = (total - toDo) / total; final double proportion = 1 - ((total - toDo) / total);
if (proportion < 0) { if (proportion < 0) {
debugger(when: kDebugMode); debugger(when: kDebugMode);

Loading…
Cancel
Save