mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
Fixes a bug when comparing int and long in the comparator
This commit is contained in:
+1
-1
@@ -194,7 +194,7 @@ class HomeLiveFilter(
|
||||
|
||||
return collection.sortedWith(
|
||||
compareByDescending<Channel> { followCounts[it] }
|
||||
.thenByDescending<Channel> { it.lastNote?.createdAt() ?: 0 }
|
||||
.thenByDescending<Channel> { it.lastNote?.createdAt() ?: 0L }
|
||||
.thenBy { it.hashCode() },
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user