2
0
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:
John Preston
2024-02-09 18:09:33 +04:00
parent 571f1a5179
commit cfaef4c441
2 changed files with 8 additions and 1 deletions

View File

@@ -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);
}
}
}