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

Allowed to display of hundreds digit in unread badge of filters.

This commit is contained in:
23rd
2024-11-27 12:25:18 +03:00
parent 4e8e096fdb
commit a405794a03
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ QImage ChatsFiltersTabs::cacheUnreadCount(int count, bool muted) const {
QImage::Format_ARGB32_Premultiplied);
image.setDevicePixelRatio(style::DevicePixelRatio());
image.fill(Qt::transparent);
const auto string = (count > 99)
const auto string = (count > 999)
? _unreadMaxString
: QString::number(count);
{