mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed color of mini icon for drafts with reply when dialog is selected.
This commit is contained in:
parent
0f4aadddfc
commit
ab5e7b1588
1 changed files with 6 additions and 6 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue