mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Don't open group info on migration update.
This commit is contained in:
parent
7a3452a18a
commit
84b3260f38
1 changed files with 8 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue