mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use TextWithEntities().append(style::IconEmoji).
This commit is contained in:
@@ -1071,8 +1071,7 @@ void PreviewWrap::paintEvent(QPaintEvent *e) {
|
|||||||
auto result = Text::String();
|
auto result = Text::String();
|
||||||
result.setMarkedText(
|
result.setMarkedText(
|
||||||
st::semiboldTextStyle,
|
st::semiboldTextStyle,
|
||||||
TextWithEntities{ text }.append(
|
TextWithEntities{ text }.append(st::giftBoxResaleTabsDropdown),
|
||||||
Ui::Text::IconEmoji(&st::giftBoxResaleTabsDropdown)),
|
|
||||||
kMarkupTextOptions);
|
kMarkupTextOptions);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user