mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix styles in discussion group management.
This commit is contained in:
@@ -273,7 +273,7 @@ void Controller::choose(not_null<ChatData*> chat) {
|
|||||||
above,
|
above,
|
||||||
tr::lng_manage_discussion_group_create(),
|
tr::lng_manage_discussion_group_create(),
|
||||||
st::infoCreateDiscussionLinkButton,
|
st::infoCreateDiscussionLinkButton,
|
||||||
{ &st::menuIconGroupCreate }
|
{ &st::menuBlueIconGroupCreate }
|
||||||
)->addClickHandler([=, parent = above.data()] {
|
)->addClickHandler([=, parent = above.data()] {
|
||||||
const auto guarded = crl::guard(parent, callback);
|
const auto guarded = crl::guard(parent, callback);
|
||||||
navigation->uiShow()->showBox(Box<GroupInfoBox>(
|
navigation->uiShow()->showBox(Box<GroupInfoBox>(
|
||||||
@@ -293,10 +293,10 @@ void Controller::choose(not_null<ChatData*> chat) {
|
|||||||
? tr::lng_manage_discussion_group_unlink
|
? tr::lng_manage_discussion_group_unlink
|
||||||
: tr::lng_manage_linked_channel_unlink)(),
|
: tr::lng_manage_linked_channel_unlink)(),
|
||||||
st::infoUnlinkDiscussionLinkButton,
|
st::infoUnlinkDiscussionLinkButton,
|
||||||
{ &st::menuIconRemove }
|
{ &st::menuIconRemoveAttention }
|
||||||
)->addClickHandler([=] { callback(nullptr); });
|
)->addClickHandler([=] { callback(nullptr); });
|
||||||
Ui::AddSkip(below);
|
|
||||||
}
|
}
|
||||||
|
Ui::AddSkip(below);
|
||||||
Ui::AddDividerText(
|
Ui::AddDividerText(
|
||||||
below,
|
below,
|
||||||
(channel->isBroadcast()
|
(channel->isBroadcast()
|
||||||
|
@@ -135,7 +135,6 @@ menuIconTopics: icon {{ "menu/topics", menuIconColor }};
|
|||||||
menuIconGroupReactions: icon {{ "menu/group_reactions", menuIconColor }};
|
menuIconGroupReactions: icon {{ "menu/group_reactions", menuIconColor }};
|
||||||
menuIconLinks: icon {{ "menu/links_profile", menuIconColor }};
|
menuIconLinks: icon {{ "menu/links_profile", menuIconColor }};
|
||||||
menuIconGroupLog: icon {{ "menu/group_log", menuIconColor }};
|
menuIconGroupLog: icon {{ "menu/group_log", menuIconColor }};
|
||||||
menuIconGroupCreate: icon {{ "menu/groups_create", menuIconColor }};
|
|
||||||
menuIconSigned: icon {{ "menu/signed", menuIconColor }};
|
menuIconSigned: icon {{ "menu/signed", menuIconColor }};
|
||||||
menuIconAntispam: icon {{ "menu/antispam", menuIconColor }};
|
menuIconAntispam: icon {{ "menu/antispam", menuIconColor }};
|
||||||
menuIconChatDiscuss: icon {{ "menu/chat_discuss", menuIconColor }};
|
menuIconChatDiscuss: icon {{ "menu/chat_discuss", menuIconColor }};
|
||||||
@@ -200,6 +199,7 @@ menuBlueIconColorNames: icon{{ "settings/premium/features/feature_color_names",
|
|||||||
menuBlueIconWallpaper: icon{{ "settings/premium/features/feature_wallpaper", lightButtonFg }};
|
menuBlueIconWallpaper: icon{{ "settings/premium/features/feature_wallpaper", lightButtonFg }};
|
||||||
menuBlueIconEmojiStatus: icon{{ "settings/premium/features/feature_status", lightButtonFg }};
|
menuBlueIconEmojiStatus: icon{{ "settings/premium/features/feature_status", lightButtonFg }};
|
||||||
menuBlueIconEmojiPack: icon{{ "settings/premium/features/feature_emoji_pack", lightButtonFg }};
|
menuBlueIconEmojiPack: icon{{ "settings/premium/features/feature_emoji_pack", lightButtonFg }};
|
||||||
|
menuBlueIconGroupCreate: icon {{ "menu/groups_create", lightButtonFg }};
|
||||||
|
|
||||||
mediaMenuIconStickers: icon {{ "menu/stickers", mediaviewMenuFg }};
|
mediaMenuIconStickers: icon {{ "menu/stickers", mediaviewMenuFg }};
|
||||||
mediaMenuIconCancel: icon {{ "menu/cancel", mediaviewMenuFg }};
|
mediaMenuIconCancel: icon {{ "menu/cancel", mediaviewMenuFg }};
|
||||||
@@ -232,6 +232,7 @@ menuIconRestoreAttention: icon {{ "menu/restore", menuIconAttentionColor }};
|
|||||||
menuIconTagRemoveAttention: icon {{ "menu/tag_remove", menuIconAttentionColor }};
|
menuIconTagRemoveAttention: icon {{ "menu/tag_remove", menuIconAttentionColor }};
|
||||||
menuIconCancelAttention: icon {{ "menu/cancel", menuIconAttentionColor }};
|
menuIconCancelAttention: icon {{ "menu/cancel", menuIconAttentionColor }};
|
||||||
menuIconBlockAttention: icon {{ "menu/block", menuIconAttentionColor }};
|
menuIconBlockAttention: icon {{ "menu/block", menuIconAttentionColor }};
|
||||||
|
menuIconRemoveAttention: icon {{ "menu/remove", menuIconAttentionColor }};
|
||||||
|
|
||||||
menuIconBlockSettings: icon {{ "menu/block", windowBgActive }};
|
menuIconBlockSettings: icon {{ "menu/block", windowBgActive }};
|
||||||
menuIconInviteSettings: icon {{ "menu/invite", lightButtonFg }};
|
menuIconInviteSettings: icon {{ "menu/invite", lightButtonFg }};
|
||||||
|
Reference in New Issue
Block a user