2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Use black icon for support mode (support).

This commit is contained in:
John Preston
2018-10-07 14:45:46 +03:00
parent 6ba0755e15
commit a27e9ad734
5 changed files with 91 additions and 11 deletions

View File

@@ -874,6 +874,9 @@ QImage MainWindow::iconWithCounter(int size, int count, style::color bg, style::
}
QImage img(smallIcon ? ((size == 16) ? iconbig16 : (size == 32 ? iconbig32 : iconbig64)) : ((size == 16) ? icon16 : (size == 32 ? icon32 : icon64)));
if (AuthSession::Exists() && Auth().supportMode()) {
Window::ConvertIconToBlack(img);
}
if (!count) return img;
if (smallIcon) {