mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Don't force LTR direction on texts.
This commit is contained in:
@@ -100,9 +100,9 @@ struct AlbumCounts {
|
||||
if (caption.text.isEmpty()) {
|
||||
return Ui::Text::Colorized(attachType);
|
||||
}
|
||||
|
||||
auto wrapped = st::wrap_rtl(caption);
|
||||
return hasMiniImages
|
||||
? caption
|
||||
? wrapped
|
||||
: tr::lng_dialogs_text_media(
|
||||
tr::now,
|
||||
lt_media_part,
|
||||
@@ -112,7 +112,7 @@ struct AlbumCounts {
|
||||
Ui::Text::Colorized(attachType),
|
||||
Ui::Text::WithEntities),
|
||||
lt_caption,
|
||||
caption,
|
||||
wrapped,
|
||||
Ui::Text::WithEntities);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user