mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Fixed color of mini icon for drafts with reply when dialog is selected.
This commit is contained in:
@@ -479,12 +479,12 @@ void PaintRow(
|
|||||||
Text::WithEntities);
|
Text::WithEntities);
|
||||||
if (draft && draft->reply) {
|
if (draft && draft->reply) {
|
||||||
auto &data = thread->owner().customEmojiManager();
|
auto &data = thread->owner().customEmojiManager();
|
||||||
const auto internal = data.registerInternalEmoji(
|
draftText = Ui::Text::Colorized(
|
||||||
st::dialogsMiniReplyIcon,
|
Ui::Text::SingleCustomEmoji(
|
||||||
{},
|
data.registerInternalEmoji(
|
||||||
false);
|
st::dialogsMiniReplyIcon,
|
||||||
draftText = Ui::Text::SingleCustomEmoji(
|
{},
|
||||||
std::move(internal)).append(std::move(draftText));
|
true))).append(std::move(draftText));
|
||||||
}
|
}
|
||||||
const auto context = Core::MarkedTextContext{
|
const auto context = Core::MarkedTextContext{
|
||||||
.session = &thread->session(),
|
.session = &thread->session(),
|
||||||
|
Reference in New Issue
Block a user