Elevate trending stickers panel item when it contains unread items

This commit is contained in:
Peter Iakovlev
2019-02-12 16:38:23 +04:00
parent a9e5a1c451
commit 2c2ecfe1fc
6 changed files with 84 additions and 16 deletions

View File

@@ -59,6 +59,9 @@ private final class TrendingPaneEntry: Identifiable, Comparable {
if lhs.installed != rhs.installed {
return false
}
if lhs.unread != rhs.unread {
return false
}
return true
}