2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Move info between Layer and Narrow wrap.

This commit is contained in:
John Preston
2017-09-15 20:34:41 +03:00
parent 088d23d557
commit f162462111
51 changed files with 758 additions and 323 deletions

View File

@@ -317,7 +317,7 @@ void SessionsBox::Inner::onTerminate() {
i.value()->clearState();
i.value()->hide();
}
})), KeepOtherLayers);
})), LayerOption::KeepOther);
}
}
}
@@ -331,7 +331,7 @@ void SessionsBox::Inner::onTerminateAll() {
}
MTP::send(MTPauth_ResetAuthorizations(), rpcDone(&Inner::terminateAllDone), rpcFail(&Inner::terminateAllFail));
emit terminateAll();
})), KeepOtherLayers);
})), LayerOption::KeepOther);
}
void SessionsBox::Inner::terminateDone(uint64 hash, const MTPBool &result) {