diff --git a/Telegram/Resources/icons/info/edit/channel_manage_type.png b/Telegram/Resources/icons/info/edit/channel_manage_type.png new file mode 100644 index 000000000..1248e6f7e Binary files /dev/null and b/Telegram/Resources/icons/info/edit/channel_manage_type.png differ diff --git a/Telegram/Resources/icons/info/edit/channel_manage_type@2x.png b/Telegram/Resources/icons/info/edit/channel_manage_type@2x.png new file mode 100644 index 000000000..edee414ff Binary files /dev/null and b/Telegram/Resources/icons/info/edit/channel_manage_type@2x.png differ diff --git a/Telegram/Resources/icons/info/edit/channel_manage_type@3x.png b/Telegram/Resources/icons/info/edit/channel_manage_type@3x.png new file mode 100644 index 000000000..39b116e56 Binary files /dev/null and b/Telegram/Resources/icons/info/edit/channel_manage_type@3x.png differ diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp index 84e9bd316..05b4a05cf 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp @@ -707,6 +707,9 @@ void Controller::fillPrivacyTypeButton() { _noForwardsSavedValue = !_peer->allowsForwarding(); const auto isGroup = (_peer->isChat() || _peer->isMegagroup()); + const auto icon = isGroup + ? &st::infoIconGroupType + : &st::infoIconChannelType; AddButtonWithText( _controls.buttonsLayout, (hasLocation @@ -729,7 +732,7 @@ void Controller::fillPrivacyTypeButton() { : tr::lng_manage_private_peer_title)(); }) | rpl::flatten_latest(), [=] { showEditPeerTypeBox(); }, - { &st::infoIconGroupType, Settings::kIconLightBlue }); + { icon, Settings::kIconLightBlue }); _privacyTypeUpdates.fire_copy(*_privacySavedValue); } diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index e33969cfa..33cb95166 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -332,6 +332,7 @@ infoIconAdministrators: icon {{ "info/edit/group_manage_admins", settingsIconFg infoIconInviteLinks: icon {{ "info/edit/group_manage_links", settingsIconFg }}; infoIconReactions: icon {{ "info/edit/group_manage_reactions", settingsIconFg }}; infoIconGroupType: icon {{ "info/edit/group_manage_type", settingsIconFg }}; +infoIconChannelType: icon {{ "info/edit/channel_manage_type", settingsIconFg }}; infoIconSignature: icon {{ "info/edit/channel_manage_signature", settingsIconFg }}; infoIconShare: icon {{ "info/info_share", infoIconFg }}; infoIconEdit: icon {{ "info/info_edit", infoIconFg }};