mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Add Boost Group in group menu.
This commit is contained in:
@@ -1054,6 +1054,12 @@ void Filler::addViewStatistics() {
|
||||
controller->showSection(Info::Boosts::Make(peer));
|
||||
}
|
||||
}, &st::menuIconBoosts);
|
||||
} else {
|
||||
_addAction(tr::lng_boost_group_button(tr::now), [=] {
|
||||
if (const auto strong = weak.get()) {
|
||||
controller->resolveBoostState(channel);
|
||||
}
|
||||
}, &st::menuIconBoosts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user