Don't open group info on migration update.
This commit is contained in:
parent
7a3452a18a
commit
84b3260f38
|
@ -184,13 +184,17 @@ void Controller::setupMigrationViewer() {
|
|||
}) | rpl::start_with_next([=] {
|
||||
const auto window = parentController();
|
||||
const auto section = _section;
|
||||
auto params = Window::SectionShow(
|
||||
Window::SectionShow::Way::Backward,
|
||||
anim::type::instant,
|
||||
anim::activation::background);
|
||||
if (wrap() == Wrap::Side) {
|
||||
params.thirdColumn = true;
|
||||
}
|
||||
InvokeQueued(_widget, [=] {
|
||||
window->showSection(
|
||||
std::make_shared<Memento>(peer, section),
|
||||
Window::SectionShow(
|
||||
Window::SectionShow::Way::Backward,
|
||||
anim::type::instant,
|
||||
anim::activation::background));
|
||||
params);
|
||||
});
|
||||
}, lifetime());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue