2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show correct titles in sublists / sublist.

This commit is contained in:
John Preston
2023-12-30 19:04:43 +04:00
parent 634687881a
commit 9f0b42bbbd
9 changed files with 131 additions and 56 deletions

View File

@@ -597,7 +597,10 @@ void WrapWidget::finishShowContent() {
updateContentGeometry();
_content->setIsStackBottom(!hasStackHistory());
if (_topBar) {
_topBar->setTitle(_content->title());
_topBar->setTitle({
.title = _content->title(),
.subtitle = _content->subtitle(),
});
_topBar->setStories(_content->titleStories());
_topBar->setStoriesArchive(
_controller->key().storiesTab() == Stories::Tab::Archive);