mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Remove "Boost Group" button in channels.
This commit is contained in:
@@ -1054,7 +1054,7 @@ void Filler::addViewStatistics() {
|
|||||||
controller->showSection(Info::Boosts::Make(peer));
|
controller->showSection(Info::Boosts::Make(peer));
|
||||||
}
|
}
|
||||||
}, &st::menuIconBoosts);
|
}, &st::menuIconBoosts);
|
||||||
} else {
|
} else if (channel->isMegagroup()) {
|
||||||
_addAction(tr::lng_boost_group_button(tr::now), [=] {
|
_addAction(tr::lng_boost_group_button(tr::now), [=] {
|
||||||
if (const auto strong = weak.get()) {
|
if (const auto strong = weak.get()) {
|
||||||
controller->resolveBoostState(channel);
|
controller->resolveBoostState(channel);
|
||||||
|
Reference in New Issue
Block a user