Fix transfer ownership button visibility.

Regression was introduced in 569340c7d3.
This commit is contained in:
John Preston 2019-09-09 21:07:12 +03:00
parent 12c7bd8ee1
commit f7f195eb98
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ void EditAdminBox::prepare() {
_aboutAddAdmins = addControl(
object_ptr<Ui::FlatLabel>(this, st::boxDividerLabel),
st::rightsAboutMargin);
std::move(
rpl::duplicate(
selectedFlags
) | rpl::map(
(_1 & Flag::f_add_admins) != 0