mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 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 = [&] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue