- Global tags are fixed.

This commit is contained in:
overtake
2019-12-04 17:44:35 +04:00
parent 502456edae
commit 81bba9dfc6
2 changed files with 46 additions and 40 deletions

View File

@@ -1162,7 +1162,7 @@ public final class AccountViewTracker {
return true
}
let key = PostboxViewKey.globalMessageTags(globalTag: type == .all ? GlobalMessageTags.Calls : GlobalMessageTags.MissedCalls, position: index, count: 200, groupingPredicate: groupingPredicate)
let key = PostboxViewKey.globalMessageTags(globalTag: type == .all ? GlobalMessageTags.Calls : GlobalMessageTags.MissedCalls, position: index, count: count, groupingPredicate: groupingPredicate)
let signal = account.postbox.combinedView(keys: [key]) |> map { view -> GlobalMessageTagsView in
let messageView = view.views[key] as! GlobalMessageTagsView
return messageView