diff --git a/Telegram/Resources/icons/menu/64g_json.png b/Telegram/Resources/icons/menu/64g_json.png new file mode 100644 index 0000000000..c358477676 Binary files /dev/null and b/Telegram/Resources/icons/menu/64g_json.png differ diff --git a/Telegram/Resources/icons/menu/64g_json@2x.png b/Telegram/Resources/icons/menu/64g_json@2x.png new file mode 100644 index 0000000000..1bd977c950 Binary files /dev/null and b/Telegram/Resources/icons/menu/64g_json@2x.png differ diff --git a/Telegram/Resources/icons/menu/64g_json@3x.png b/Telegram/Resources/icons/menu/64g_json@3x.png new file mode 100644 index 0000000000..e482a712fb Binary files /dev/null and b/Telegram/Resources/icons/menu/64g_json@3x.png differ diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 45be6a834f..125506abaf 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2836,7 +2836,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { if (item && item->id > 0 && isUponSelected != 2 && isUponSelected != -2) { _menu->addAction(tr::lng_context_view_as_json(tr::now), [=] { HistoryView::ViewAsJSON(controller, itemId); - }, &st::menuIconLink); + }, &st::menuIcon64gJson); } } else { // maybe cursor on some text history item? const auto albumPartItem = _dragStateItem; @@ -3175,7 +3175,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { if (item && item->id > 0 && isUponSelected != 2 && isUponSelected != -2) { _menu->addAction(tr::lng_context_view_as_json(tr::now), [=] { HistoryView::ViewAsJSON(controller, itemId); - }, &st::menuIconLink); + }, &st::menuIcon64gJson); } } diff --git a/Telegram/SourceFiles/ui/menu_icons.style b/Telegram/SourceFiles/ui/menu_icons.style index f1d3c64426..672e255338 100644 --- a/Telegram/SourceFiles/ui/menu_icons.style +++ b/Telegram/SourceFiles/ui/menu_icons.style @@ -251,3 +251,5 @@ mediaSpeedSuperFastActive: icon {{ "player/speed/audiospeed_menu_2.0", mediaview menuIconMakeBig: icon {{ "player/player_fullscreen", menuIconColor }}; menuIconMakeSmall: icon {{ "player/player_minimize", menuIconColor }}; menuIconChangeOrder: icon {{ "player/player_order", menuIconColor }}; + +menuIcon64gJson: icon {{ "menu/64g_json", menuIconColor }}; \ No newline at end of file