mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Added missed icon for channel type in manage of channels.
This commit is contained in:
parent
058717532a
commit
62b5192f24
5 changed files with 5 additions and 1 deletions
BIN
Telegram/Resources/icons/info/edit/channel_manage_type.png
Normal file
BIN
Telegram/Resources/icons/info/edit/channel_manage_type.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 444 B |
BIN
Telegram/Resources/icons/info/edit/channel_manage_type@2x.png
Normal file
BIN
Telegram/Resources/icons/info/edit/channel_manage_type@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 741 B |
BIN
Telegram/Resources/icons/info/edit/channel_manage_type@3x.png
Normal file
BIN
Telegram/Resources/icons/info/edit/channel_manage_type@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 }};
|
||||
|
|
Loading…
Add table
Reference in a new issue