Improve 5-line reply text elision.

This commit is contained in:
John Preston
2023-11-06 12:35:27 +04:00
parent d7539349c7
commit b2eeab53c5
15 changed files with 65 additions and 57 deletions

View File

@@ -828,7 +828,7 @@ void Notification::paintTitle(Painter &p) {
.spoiler = Ui::Text::DefaultSpoilerCache(),
.pausedEmoji = On(PowerSaving::kEmojiChat),
.pausedSpoiler = On(PowerSaving::kChatSpoiler),
.elisionOneLine = true,
.elisionLines = 1,
});
}