diff --git a/Telegram/SourceFiles/settings/settings.style b/Telegram/SourceFiles/settings/settings.style index 79f61a645e..0ec8e9ea3f 100644 --- a/Telegram/SourceFiles/settings/settings.style +++ b/Telegram/SourceFiles/settings/settings.style @@ -92,7 +92,6 @@ settingsIconPosition: icon {{ "settings/position", settingsIconFg }}; settingsIconPin: icon {{ "settings/pin", settingsIconFg }}; settingsIconDownload: icon {{ "settings/download", settingsIconFg }}; settingsIconMention: icon {{ "settings/mention", settingsIconFg }}; -settingsIconBlocked: icon {{ "settings/blocked", settingsIconFg }}; settingsIconAdd: icon {{ "settings/add", windowFgActive }}; settingsIconRemove: icon {{ "settings/remove", windowFgActive }}; diff --git a/Telegram/SourceFiles/settings/settings_blocked_peers.cpp b/Telegram/SourceFiles/settings/settings_blocked_peers.cpp index 522b81fca5..cee383e3ee 100644 --- a/Telegram/SourceFiles/settings/settings_blocked_peers.cpp +++ b/Telegram/SourceFiles/settings/settings_blocked_peers.cpp @@ -22,6 +22,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "window/window_session_controller.h" #include "styles/style_settings.h" #include "styles/style_boxes.h" +#include "styles/style_menu_icons.h" namespace Settings { @@ -74,8 +75,8 @@ QPointer Blocked::createPinnedToTop(not_null parent) { AddButton( content, tr::lng_blocked_list_add(), - st::settingsButton, - { &st::settingsIconBlocked, kIconLightBlue } + st::settingsButtonActive, + { &st::menuIconBlockSettings, 0, IconType::Round, &st::transparent } )->addClickHandler([=] { BlockedBoxController::BlockNewPeer(_controller); }); diff --git a/Telegram/SourceFiles/ui/menu_icons.style b/Telegram/SourceFiles/ui/menu_icons.style index 50f005fa45..8d8c08ecea 100644 --- a/Telegram/SourceFiles/ui/menu_icons.style +++ b/Telegram/SourceFiles/ui/menu_icons.style @@ -139,3 +139,5 @@ menuIconStartStreamWith: icon {{ "menu/start_stream_with", menuIconColor }}; menuIconDeleteAttention: icon {{ "menu/delete", menuIconAttentionColor }}; menuIconLeaveAttention: icon {{ "menu/leave", menuIconAttentionColor }}; menuIconDisableAttention: icon {{ "menu/disable", menuIconAttentionColor }}; + +menuIconBlockSettings: icon {{ "menu/block", windowBgActive }};