mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
f9bf6dbc1e
commit
4ba4b77b95
1 changed files with 3 additions and 2 deletions
|
@ -46,7 +46,7 @@ namespace {
|
||||||
.entities = (history->unreadCount() > 0)
|
.entities = (history->unreadCount() > 0)
|
||||||
? EntitiesInText{
|
? EntitiesInText{
|
||||||
{ EntityType::Semibold, 0, int(name.size()), QString() },
|
{ EntityType::Semibold, 0, int(name.size()), QString() },
|
||||||
{ EntityType::CustomUrl, 0, int(name.size()), QString() },
|
{ EntityType::PlainLink, 0, int(name.size()), QString() },
|
||||||
}
|
}
|
||||||
: EntitiesInText{}
|
: EntitiesInText{}
|
||||||
};
|
};
|
||||||
|
@ -293,7 +293,8 @@ void Row::validateListEntryCache() const {
|
||||||
_listEntryCache.setMarkedText(
|
_listEntryCache.setMarkedText(
|
||||||
st::dialogsTextStyle,
|
st::dialogsTextStyle,
|
||||||
ComposeFolderListEntryText(folder),
|
ComposeFolderListEntryText(folder),
|
||||||
Ui::DialogTextOptions());
|
// Use rich options as long as the entry text does not have user text.
|
||||||
|
Ui::ItemTextDefaultOptions());
|
||||||
}
|
}
|
||||||
|
|
||||||
FakeRow::FakeRow(Key searchInChat, not_null<HistoryItem*> item)
|
FakeRow::FakeRow(Key searchInChat, not_null<HistoryItem*> item)
|
||||||
|
|
Loading…
Add table
Reference in a new issue