Remove "Boost Group" button in channels.

This commit is contained in:
John Preston 2024-02-17 11:27:38 +04:00
parent 20f3ef9a5b
commit f59c46cd7c
1 changed files with 1 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ void Filler::addViewStatistics() {
controller->showSection(Info::Boosts::Make(peer));
}
}, &st::menuIconBoosts);
} else {
} else if (channel->isMegagroup()) {
_addAction(tr::lng_boost_group_button(tr::now), [=] {
if (const auto strong = weak.get()) {
controller->resolveBoostState(channel);