diff --git a/Telegram/Resources/icons/chat/large_messages.png b/Telegram/Resources/icons/chat/large_messages.png new file mode 100644 index 0000000000..f2b2fda9d0 Binary files /dev/null and b/Telegram/Resources/icons/chat/large_messages.png differ diff --git a/Telegram/Resources/icons/chat/large_messages@2x.png b/Telegram/Resources/icons/chat/large_messages@2x.png new file mode 100644 index 0000000000..c4a0821ec6 Binary files /dev/null and b/Telegram/Resources/icons/chat/large_messages@2x.png differ diff --git a/Telegram/Resources/icons/chat/large_messages@3x.png b/Telegram/Resources/icons/chat/large_messages@3x.png new file mode 100644 index 0000000000..1d5b682e32 Binary files /dev/null and b/Telegram/Resources/icons/chat/large_messages@3x.png differ diff --git a/Telegram/SourceFiles/history/view/history_view_about_view.cpp b/Telegram/SourceFiles/history/view/history_view_about_view.cpp index 3ad2dcf1ee..c4028d362a 100644 --- a/Telegram/SourceFiles/history/view/history_view_about_view.cpp +++ b/Telegram/SourceFiles/history/view/history_view_about_view.cpp @@ -403,7 +403,9 @@ EmptyChatLockedBox::EmptyChatLockedBox(not_null parent, Type type) EmptyChatLockedBox::~EmptyChatLockedBox() = default; int EmptyChatLockedBox::width() { - return st::premiumRequiredWidth; + return (_type == Type::PremiumRequired) + ? st::premiumRequiredWidth + : st::starsPerMessageWidth; } int EmptyChatLockedBox::top() { @@ -460,7 +462,9 @@ void EmptyChatLockedBox::draw( p.setBrush(context.st->msgServiceBg()); // ? p.setPen(Qt::NoPen); p.drawEllipse(geometry); - st::premiumRequiredIcon.paintInCenter(p, geometry); + (_type == Type::PremiumRequired + ? st::premiumRequiredIcon + : st::directMessagesIcon).paintInCenter(p, geometry); } void EmptyChatLockedBox::stickerClearLoopPlayed() { diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index 0bf7da504d..3e3c2bbaf8 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -1055,6 +1055,8 @@ chatSimilarSkip: 12px; premiumRequiredWidth: 186px; premiumRequiredIcon: icon{{ "chat/large_lockedchat", msgServiceFg }}; premiumRequiredCircle: 60px; +directMessagesIcon: icon{{ "chat/large_messages", msgServiceFg }}; +starsPerMessageWidth: 226px; repliesEmptyIcon: icon{{ "chat/large_quickreply", msgServiceFg }}; greetingEmptyIcon: icon{{ "chat/large_greeting", msgServiceFg }};