mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Added ability to create statistics info layer with story id.
This commit is contained in:
@@ -1008,7 +1008,8 @@ void Filler::addViewStatistics() {
|
||||
if (channel->flags() & ChannelDataFlag::CanGetStatistics) {
|
||||
_addAction(tr::lng_stats_title(tr::now), [=] {
|
||||
if (const auto strong = weak.get()) {
|
||||
controller->showSection(Info::Statistics::Make(peer, {}));
|
||||
using namespace Info;
|
||||
controller->showSection(Statistics::Make(peer, {}, {}));
|
||||
}
|
||||
}, &st::menuIconStats);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user