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