mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added ability to set content to bar of pinned messages later.
This commit is contained in:
@@ -6388,9 +6388,8 @@ void HistoryWidget::checkPinnedBarState() {
|
||||
auto barContent = HistoryView::PinnedBarContent(
|
||||
&session(),
|
||||
_pinnedTracker->shownMessageId());
|
||||
_pinnedBar = std::make_unique<Ui::PinnedBar>(
|
||||
this,
|
||||
std::move(barContent));
|
||||
_pinnedBar = std::make_unique<Ui::PinnedBar>(this);
|
||||
_pinnedBar->setContent(std::move(barContent));
|
||||
Info::Profile::SharedMediaCountValue(
|
||||
_peer,
|
||||
nullptr,
|
||||
|
Reference in New Issue
Block a user