fix: fix proportion calculation (#1420)
This commit is contained in:
parent
0aaf2d6bca
commit
6cb6b7ebac
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ class PangeaMessageEvent {
|
|||
)
|
||||
.length;
|
||||
|
||||
final double proportion = (total - toDo) / total;
|
||||
final double proportion = 1 - ((total - toDo) / total);
|
||||
|
||||
if (proportion < 0) {
|
||||
debugger(when: kDebugMode);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue