mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Use TextWithEntities().append(style::IconEmoji).
This commit is contained in:
parent
f2b888f9ae
commit
bdf802e64a
1 changed files with 1 additions and 2 deletions
|
@ -1071,8 +1071,7 @@ void PreviewWrap::paintEvent(QPaintEvent *e) {
|
|||
auto result = Text::String();
|
||||
result.setMarkedText(
|
||||
st::semiboldTextStyle,
|
||||
TextWithEntities{ text }.append(
|
||||
Ui::Text::IconEmoji(&st::giftBoxResaleTabsDropdown)),
|
||||
TextWithEntities{ text }.append(st::giftBoxResaleTabsDropdown),
|
||||
kMarkupTextOptions);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue