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

Set name / phone texts on-demand.

This commit is contained in:
John Preston
2022-08-09 14:12:19 +03:00
parent ceb7d5f238
commit 8bc807dc40
98 changed files with 426 additions and 260 deletions

View File

@@ -158,6 +158,7 @@ public:
[[nodiscard]] Ui::MessageView &itemView() const {
return _itemView;
}
[[nodiscard]] const Ui::Text::String &name() const;
private:
friend class Ui::RowPainter;
@@ -165,6 +166,7 @@ private:
Key _searchInChat;
not_null<HistoryItem*> _item;
mutable Ui::MessageView _itemView;
mutable Ui::Text::String _name;
};