mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use nice media names in Downloads.
This commit is contained in:
@@ -941,9 +941,9 @@ Document::Document(
|
||||
, _datew(st::normalFont->width(_date)) {
|
||||
_name.setMarkedText(
|
||||
st::defaultTextStyle,
|
||||
(_forceFileLayout
|
||||
? Ui::Text::Bold(_data->filename())
|
||||
: Ui::Text::FormatSongNameFor(_data).textWithEntities()),
|
||||
(!_forceFileLayout
|
||||
? Ui::Text::FormatSongNameFor(_data).textWithEntities()
|
||||
: Ui::Text::FormatDownloadsName(_data)),
|
||||
_documentNameOptions);
|
||||
|
||||
AddComponents(Info::Bit());
|
||||
|
Reference in New Issue
Block a user