Various improvements

This commit is contained in:
Ilya Laktyushin
2023-12-11 14:26:22 +04:00
parent 6f0e415c80
commit 624f2d8e84
32 changed files with 1987 additions and 826 deletions

View File

@@ -464,7 +464,7 @@ class StatsOverviewItemNode: ListViewItemNode {
nil
)
let hasMessages = stats.viewsPerPost.current > 0
let hasMessages = stats.viewsPerPost.current > 0 || viewsPerPostDelta.hasValue
let hasStories = stats.viewsPerStory.current > 0 || viewsPerStoryDelta.hasValue
var items: [Int: (String, String, (String, ValueItemNode.DeltaColor)?)] = [:]