mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Added button for invite links management even to public channels.
This commit is contained in:
parent
9a1d9deea5
commit
80d4c3affe
1 changed files with 1 additions and 10 deletions
|
@ -1189,16 +1189,7 @@ void Controller::fillManageSection() {
|
|||
Ui::LayerOption::KeepOther);
|
||||
},
|
||||
{ &st::infoRoundedIconInviteLinks, Settings::kIconLightOrange });
|
||||
|
||||
if (_typeDataSavedValue) {
|
||||
_privacyTypeUpdates.events_starting_with_copy(
|
||||
_typeDataSavedValue->privacy
|
||||
) | rpl::start_with_next([=](Privacy flag) {
|
||||
wrap->toggle(
|
||||
flag != Privacy::HasUsername,
|
||||
anim::type::instant);
|
||||
}, wrap->lifetime());
|
||||
}
|
||||
wrap->toggle(true, anim::type::instant);
|
||||
}
|
||||
if (canViewAdmins) {
|
||||
AddButtonWithCount(
|
||||
|
|
Loading…
Add table
Reference in a new issue