2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Paint unread mention badge as an icon.

This commit is contained in:
John Preston
2022-01-26 14:47:23 +03:00
parent 2a99f1a1ef
commit 6207770120
14 changed files with 156 additions and 93 deletions

View File

@@ -102,7 +102,7 @@ void HistoryDownButton::paintEvent(QPaintEvent *e) {
st.font = st::historyToDownBadgeFont;
st.size = st::historyToDownBadgeSize;
st.sizeId = Dialogs::Ui::UnreadBadgeInHistoryToDown;
Dialogs::Ui::paintUnreadCount(p, unreadString, width(), 0, st, nullptr, 4);
Dialogs::Ui::PaintUnreadBadge(p, unreadString, width(), 0, st, 4);
}
}