mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix archive chats list bidi support.
This commit is contained in:
@@ -70,7 +70,7 @@ constexpr auto kShowChatNamesCount = 8;
|
|||||||
);
|
);
|
||||||
const auto wrapName = [](not_null<History*> history) {
|
const auto wrapName = [](not_null<History*> history) {
|
||||||
const auto name = history->peer->name();
|
const auto name = history->peer->name();
|
||||||
return TextWithEntities{
|
return st::wrap_rtl(TextWithEntities{
|
||||||
.text = name,
|
.text = name,
|
||||||
.entities = (history->chatListBadgesState().unread
|
.entities = (history->chatListBadgesState().unread
|
||||||
? EntitiesInText{
|
? EntitiesInText{
|
||||||
@@ -78,7 +78,7 @@ constexpr auto kShowChatNamesCount = 8;
|
|||||||
{ EntityType::Colorized, 0, int(name.size()), QString() },
|
{ EntityType::Colorized, 0, int(name.size()), QString() },
|
||||||
}
|
}
|
||||||
: EntitiesInText{}),
|
: EntitiesInText{}),
|
||||||
};
|
});
|
||||||
};
|
};
|
||||||
const auto shown = int(peers.size());
|
const auto shown = int(peers.size());
|
||||||
const auto accumulated = [&] {
|
const auto accumulated = [&] {
|
||||||
|
Reference in New Issue
Block a user