2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Improve top bars in forums, in narrow column.

This commit is contained in:
John Preston
2022-10-24 15:52:28 +04:00
parent 70e5f752ba
commit 72354f52d4
14 changed files with 171 additions and 51 deletions

View File

@@ -744,17 +744,20 @@ void Widget::refreshTopBars() {
_forumReportBar = std::make_unique<HistoryView::ContactStatus>(
controller(),
this,
_openedForum);
_openedForum,
true);
_forumRequestsBar = std::make_unique<Ui::RequestsBar>(
this,
HistoryView::RequestsBarContentByPeer(
_openedForum,
st::historyRequestsUserpics.size));
st::historyRequestsUserpics.size,
true));
_forumGroupCallBar = std::make_unique<Ui::GroupCallBar>(
this,
HistoryView::GroupCallBarContentByPeer(
_openedForum,
st::historyGroupCallUserpics.size),
st::historyGroupCallUserpics.size,
true),
Core::App().appDeactivatedValue());
_forumTopShadow = std::make_unique<Ui::PlainShadow>(this);