mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +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);
|
||||
if (draft && draft->reply) {
|
||||
auto &data = thread->owner().customEmojiManager();
|
||||
const auto internal = data.registerInternalEmoji(
|
||||
st::dialogsMiniReplyIcon,
|
||||
{},
|
||||
false);
|
||||
draftText = Ui::Text::SingleCustomEmoji(
|
||||
std::move(internal)).append(std::move(draftText));
|
||||
draftText = Ui::Text::Colorized(
|
||||
Ui::Text::SingleCustomEmoji(
|
||||
data.registerInternalEmoji(
|
||||
st::dialogsMiniReplyIcon,
|
||||
{},
|
||||
true))).append(std::move(draftText));
|
||||
}
|
||||
const auto context = Core::MarkedTextContext{
|
||||
.session = &thread->session(),
|
||||
|
Reference in New Issue
Block a user