mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Alpha version 0.10.22: critical bug fixes.
This commit is contained in:
@@ -336,5 +336,18 @@ void paintImportantSwitch(Painter &p, Mode current, int fullWidth, bool selected
|
||||
}
|
||||
}
|
||||
|
||||
void clearUnreadBadgesCache() {
|
||||
if (unreadBadgeStyle) {
|
||||
for (auto &data : unreadBadgeStyle->sizes) {
|
||||
for (auto &left : data.left) {
|
||||
left = QPixmap();
|
||||
}
|
||||
for (auto &right : data.right) {
|
||||
right = QPixmap();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Layout
|
||||
} // namespace Dialogs
|
||||
|
Reference in New Issue
Block a user