mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix archive chats list bidi support.
This commit is contained in:
parent
a5b06e9c56
commit
71357a9546
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ constexpr auto kShowChatNamesCount = 8;
|
|||
);
|
||||
const auto wrapName = [](not_null<History*> history) {
|
||||
const auto name = history->peer->name();
|
||||
return TextWithEntities{
|
||||
return st::wrap_rtl(TextWithEntities{
|
||||
.text = name,
|
||||
.entities = (history->chatListBadgesState().unread
|
||||
? EntitiesInText{
|
||||
|
@ -78,7 +78,7 @@ constexpr auto kShowChatNamesCount = 8;
|
|||
{ EntityType::Colorized, 0, int(name.size()), QString() },
|
||||
}
|
||||
: EntitiesInText{}),
|
||||
};
|
||||
});
|
||||
};
|
||||
const auto shown = int(peers.size());
|
||||
const auto accumulated = [&] {
|
||||
|
|
Loading…
Add table
Reference in a new issue