2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Added second type of info layer for statistics.

This commit is contained in:
23rd
2023-10-08 23:17:45 +03:00
committed by John Preston
parent 3da733520d
commit 01821cd779
9 changed files with 85 additions and 11 deletions

View File

@@ -1007,7 +1007,7 @@ void Filler::addViewStatistics() {
const auto peer = _peer;
_addAction(tr::lng_stats_title(tr::now), [=] {
if (const auto strong = weak.get()) {
controller->showSection(Info::Statistics::Make(peer));
controller->showSection(Info::Statistics::Make(peer, {}));
}
}, &st::menuIconStats);
}