mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Separate form controller from view controller.
This commit is contained in:
@@ -617,11 +617,13 @@ void SetupChannelBox::prepare() {
|
||||
rtlupdate(_invitationLink);
|
||||
}
|
||||
}));
|
||||
subscribe(boxClosing, [this] {
|
||||
|
||||
boxClosing() | rpl::start_with_next([=] {
|
||||
if (!_existing) {
|
||||
AddParticipantsBoxController::Start(_channel);
|
||||
}
|
||||
});
|
||||
}, lifetime());
|
||||
|
||||
updateMaxHeight();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user