2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Improve notification preview settings design.

This commit is contained in:
John Preston
2022-03-08 15:23:21 +04:00
parent 4054bae9be
commit 1aa8029a8a
11 changed files with 582 additions and 288 deletions

View File

@@ -954,7 +954,7 @@ void NativeManager::doShowNotification(NotificationFields &&fields) {
&& (item->out() || peer->isSelf())
&& item->isFromScheduled();
const auto title = options.hideNameAndPhoto
? qsl("Telegram Desktop")
? AppName.utf16()
: (scheduled && peer->isSelf())
? tr::lng_notification_reminder(tr::now)
: peer->name;