mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added icon to entry point for statistics.
This commit is contained in:
@@ -1000,7 +1000,6 @@ void Filler::addManageChat() {
|
||||
}
|
||||
|
||||
void Filler::addViewStatistics() {
|
||||
#ifdef _DEBUG
|
||||
if (const auto channel = _peer->asChannel()) {
|
||||
if (channel->flags() & ChannelDataFlag::CanGetStatistics) {
|
||||
const auto controller = _controller;
|
||||
@@ -1010,10 +1009,9 @@ void Filler::addViewStatistics() {
|
||||
if (const auto strong = weak.get()) {
|
||||
controller->showSection(Info::Statistics::Make(peer));
|
||||
}
|
||||
}, nullptr);
|
||||
}, &st::menuIconStats);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Filler::addCreatePoll() {
|
||||
|
Reference in New Issue
Block a user