mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Refactor icon unread counter painting.
This commit is contained in:
@@ -258,7 +258,7 @@ void NotificationsCount::prepareNotificationSampleSmall() {
|
||||
void NotificationsCount::prepareNotificationSampleUserpic() {
|
||||
if (_notificationSampleUserpic.isNull()) {
|
||||
_notificationSampleUserpic = Ui::PixmapFromImage(
|
||||
Core::App().logoNoMargin().scaled(
|
||||
Window::LogoNoMargin().scaled(
|
||||
st::notifyPhotoSize * cIntRetinaFactor(),
|
||||
st::notifyPhotoSize * cIntRetinaFactor(),
|
||||
Qt::IgnoreAspectRatio,
|
||||
|
Reference in New Issue
Block a user