2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Allow editing topic title and icon.

This commit is contained in:
John Preston
2022-09-27 16:05:47 +04:00
parent c90f879c96
commit 3b3792ef75
42 changed files with 603 additions and 190 deletions

View File

@@ -671,7 +671,7 @@ TopBarUser::TopBarUser(
Info::Profile::NameValue(peer)
) | rpl::start_with_next([=](
DocumentData *document,
TextWithEntities name) {
const QString &name) {
if (document) {
_emojiStatus = std::make_unique<EmojiStatusTopBar>(
document,
@@ -713,7 +713,7 @@ TopBarUser::TopBarUser(
_emojiStatus = nullptr;
}
updateTitle(document, name, controller);
updateTitle(document, { name }, controller);
updateAbout(document);
auto event = QResizeEvent(size(), size());