fix: fix proportion calculation (#1420)

This commit is contained in:
ggurdin 2025-01-13 12:11:31 -05:00 committed by GitHub
parent 0aaf2d6bca
commit 6cb6b7ebac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);