diff --git a/Telegram/Resources/icons/toast_info.png b/Telegram/Resources/icons/toast_info.png new file mode 100644 index 000000000..b72bb26d6 Binary files /dev/null and b/Telegram/Resources/icons/toast_info.png differ diff --git a/Telegram/Resources/icons/toast_info@2x.png b/Telegram/Resources/icons/toast_info@2x.png new file mode 100644 index 000000000..39afc700d Binary files /dev/null and b/Telegram/Resources/icons/toast_info@2x.png differ diff --git a/Telegram/Resources/icons/toast_info@3x.png b/Telegram/Resources/icons/toast_info@3x.png new file mode 100644 index 000000000..f00a472df Binary files /dev/null and b/Telegram/Resources/icons/toast_info@3x.png differ diff --git a/Telegram/SourceFiles/history/history.style b/Telegram/SourceFiles/history/history.style index 920f32d61..c557efb23 100644 --- a/Telegram/SourceFiles/history/history.style +++ b/Telegram/SourceFiles/history/history.style @@ -389,6 +389,9 @@ historyErrorToast: Toast(defaultToast) { historyInfoToast: Toast(defaultToast) { minWidth: msgMinWidth; maxWidth: 380px; + padding: margins(54px, 13px, 19px, 12px); + icon: icon {{ "toast_info", toastFg }}; + iconPosition: point(13px, 13px); } historyPhotoLeft: 14px; diff --git a/Telegram/SourceFiles/history/view/history_view_message.h b/Telegram/SourceFiles/history/view/history_view_message.h index 303cd8381..d215e70a0 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.h +++ b/Telegram/SourceFiles/history/view/history_view_message.h @@ -28,7 +28,6 @@ struct LogEntryOriginal ~LogEntryOriginal(); std::unique_ptr page; - }; struct PsaTooltipState : public RuntimeComponent { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 7849f0561..66e44506d 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 7849f0561b7d8d0e51e3fec3dcfe07e1502c82cc +Subproject commit 66e44506dc1cdea5a47dd0124c98d269b2a02d03