mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fixed closing of transfer ownership box.
This commit is contained in:
parent
e20aa0c524
commit
4754a513aa
1 changed files with 4 additions and 2 deletions
|
@ -624,8 +624,10 @@ void EditAdminBox::sendTransferRequestFrom(
|
|||
tr::now,
|
||||
lt_user,
|
||||
user->shortName()));
|
||||
if (weak) {
|
||||
_show.hideLayer();
|
||||
if (box) {
|
||||
Ui::BoxShow(box).hideLayer();
|
||||
} else if (weak) {
|
||||
weak->_show.hideLayer();
|
||||
}
|
||||
}).fail(crl::guard(this, [=](const MTP::Error &error) {
|
||||
if (weak) {
|
||||
|
|
Loading…
Add table
Reference in a new issue