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([=] {
|
}) | rpl::start_with_next([=] {
|
||||||
const auto window = parentController();
|
const auto window = parentController();
|
||||||
const auto section = _section;
|
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, [=] {
|
InvokeQueued(_widget, [=] {
|
||||||
window->showSection(
|
window->showSection(
|
||||||
std::make_shared<Memento>(peer, section),
|
std::make_shared<Memento>(peer, section),
|
||||||
Window::SectionShow(
|
params);
|
||||||
Window::SectionShow::Way::Backward,
|
|
||||||
anim::type::instant,
|
|
||||||
anim::activation::background));
|
|
||||||
});
|
});
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue