diff --git a/Telegram/Resources/icons/fast_comments.png b/Telegram/Resources/icons/fast_comments.png new file mode 100644 index 000000000..9d6b299d8 Binary files /dev/null and b/Telegram/Resources/icons/fast_comments.png differ diff --git a/Telegram/Resources/icons/fast_comments@2x.png b/Telegram/Resources/icons/fast_comments@2x.png new file mode 100644 index 000000000..5d7be460c Binary files /dev/null and b/Telegram/Resources/icons/fast_comments@2x.png differ diff --git a/Telegram/Resources/icons/fast_comments@3x.png b/Telegram/Resources/icons/fast_comments@3x.png new file mode 100644 index 000000000..e31abfcab Binary files /dev/null and b/Telegram/Resources/icons/fast_comments@3x.png differ diff --git a/Telegram/Resources/icons/fast_share.png b/Telegram/Resources/icons/fast_share.png index 45acb8fc3..59c7ce623 100644 Binary files a/Telegram/Resources/icons/fast_share.png and b/Telegram/Resources/icons/fast_share.png differ diff --git a/Telegram/Resources/icons/fast_share@2x.png b/Telegram/Resources/icons/fast_share@2x.png index 9d48c99bb..3e59bb283 100644 Binary files a/Telegram/Resources/icons/fast_share@2x.png and b/Telegram/Resources/icons/fast_share@2x.png differ diff --git a/Telegram/Resources/icons/fast_share@3x.png b/Telegram/Resources/icons/fast_share@3x.png index 5181a751c..d82e28594 100644 Binary files a/Telegram/Resources/icons/fast_share@3x.png and b/Telegram/Resources/icons/fast_share@3x.png differ diff --git a/Telegram/Resources/icons/fast_to_original.png b/Telegram/Resources/icons/fast_to_original.png new file mode 100644 index 000000000..c6f95228e Binary files /dev/null and b/Telegram/Resources/icons/fast_to_original.png differ diff --git a/Telegram/Resources/icons/fast_to_original@2x.png b/Telegram/Resources/icons/fast_to_original@2x.png new file mode 100644 index 000000000..2bdbd9bb0 Binary files /dev/null and b/Telegram/Resources/icons/fast_to_original@2x.png differ diff --git a/Telegram/Resources/icons/fast_to_original@3x.png b/Telegram/Resources/icons/fast_to_original@3x.png new file mode 100644 index 000000000..87f4cabcd Binary files /dev/null and b/Telegram/Resources/icons/fast_to_original@3x.png differ diff --git a/Telegram/SourceFiles/history/history.style b/Telegram/SourceFiles/history/history.style index 3b5892ca3..0d3c6817d 100644 --- a/Telegram/SourceFiles/history/history.style +++ b/Telegram/SourceFiles/history/history.style @@ -528,9 +528,9 @@ historyAdminLogSearchSlideDuration: 150; historyFastShareSize: 31px; historyFastShareLeft: 13px; historyFastShareBottom: 5px; -historyFastShareIcon: icon {{ "fast_share", msgServiceFg, point(4px, 3px)}}; -historyGoToOriginalIcon: icon {{ "title_back-flip_horizontal", msgServiceFg, point(8px, 7px) }}; -historyFastCommentsIcon: icon {{ "history_comments", msgServiceFg }}; +historyFastShareIcon: icon {{ "fast_share", msgServiceFg }}; +historyGoToOriginalIcon: icon {{ "fast_to_original", msgServiceFg }}; +historyFastCommentsIcon: icon {{ "fast_comments", msgServiceFg }}; historySavedFont: font(semibold 14px); diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index c8f0f98d8..85e3e48bb 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -2132,9 +2132,9 @@ void Message::drawRightAction( views->repliesSmall.textWidth); } } else if (displayFastShare()) { - st::historyFastShareIcon.paint(p, left, top, outerWidth); + st::historyFastShareIcon.paintInCenter(p, { left, top, size->width(), size->height() }); } else { - st::historyGoToOriginalIcon.paint(p, left, top, outerWidth); + st::historyGoToOriginalIcon.paintInCenter(p, { left, top, size->width(), size->height() }); } } diff --git a/Telegram/ThirdParty/rlottie b/Telegram/ThirdParty/rlottie index d369d84e8..839dcab7f 160000 --- a/Telegram/ThirdParty/rlottie +++ b/Telegram/ThirdParty/rlottie @@ -1 +1 @@ -Subproject commit d369d84e868352886cee48eecb60b462f6dfe067 +Subproject commit 839dcab7f083a51b8130061ea5ec245195af6c58