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:
@@ -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);
|
||||
{
|
||||
|
Reference in New Issue
Block a user