Removed Ui::hideLayer from PinMessageBox.

This commit is contained in:
23rd 2022-02-21 04:20:20 +03:00
parent fd528aa1b7
commit b0617711ed
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ void PinMessageBox::pinMessage() {
MTP_int(_msgId)
)).done([=](const MTPUpdates &result) {
_peer->session().api().applyUpdates(result);
Ui::hideLayer();
closeBox();
}).fail([=] {
Ui::hideLayer();
closeBox();
}).send();
}