Slightly improved style of button in settings of blocked peers.
This commit is contained in:
parent
3b45a120e6
commit
767459ab57
|
@ -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 }};
|
||||
|
|
|
@ -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<Ui::RpWidget> Blocked::createPinnedToTop(not_null<QWidget*> 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);
|
||||
});
|
||||
|
|
|
@ -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 }};
|
||||
|
|
Loading…
Reference in New Issue