1
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-04-09 11:11:21 +00:00

Version 1.7.10: Fix sticker set title.

Fixes .
This commit is contained in:
John Preston 2019-06-24 14:32:43 +02:00
parent d5497c3105
commit 022fb0c81b

View File

@ -328,6 +328,7 @@ void AbstractBox::setTitle(rpl::producer<TextWithEntities> title) {
const auto wasTitle = hasTitle(); const auto wasTitle = hasTitle();
if (title) { if (title) {
_title.create(this, std::move(title), st::boxTitle); _title.create(this, std::move(title), st::boxTitle);
_title->show();
updateTitlePosition(); updateTitlePosition();
} else { } else {
_title.destroy(); _title.destroy();