mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:47:24 +01:00
Fixes displaying an old result when coming back to a DVM screen
This commit is contained in:
@@ -307,7 +307,7 @@ class BiMaxOfCollector<K, V>(
|
||||
v: V,
|
||||
) {
|
||||
if (filter.filter(k, v)) {
|
||||
if (maxK == null || comparator.compare(v, maxV) > 1) {
|
||||
if (maxK == null || comparator.compare(v, maxV) > 0) {
|
||||
maxK = k
|
||||
maxV = v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user