mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
@@ -279,7 +279,7 @@ void BottomInfo::layoutDateText() {
|
|||||||
? (tr::lng_edited(tr::now) + ' ')
|
? (tr::lng_edited(tr::now) + ' ')
|
||||||
: QString();
|
: QString();
|
||||||
const auto author = _data.author;
|
const auto author = _data.author;
|
||||||
const auto prefix = author.isEmpty() ? qsl(", ") : QString();
|
const auto prefix = !author.isEmpty() ? qsl(", ") : QString();
|
||||||
const auto date = edited + _data.date.toString(cTimeFormat());
|
const auto date = edited + _data.date.toString(cTimeFormat());
|
||||||
_dateWidth = st::msgDateFont->width(date);
|
_dateWidth = st::msgDateFont->width(date);
|
||||||
const auto afterAuthor = prefix + date;
|
const auto afterAuthor = prefix + date;
|
||||||
|
Reference in New Issue
Block a user