mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Separate form controller from view controller.
This commit is contained in:
@@ -1431,11 +1431,11 @@ void SendFilesBox::prepare() {
|
||||
setupCaption();
|
||||
initSendWay();
|
||||
preparePreview();
|
||||
subscribe(boxClosing, [this] {
|
||||
boxClosing() | rpl::start_with_next([=] {
|
||||
if (!_confirmed && _cancelledCallback) {
|
||||
_cancelledCallback();
|
||||
}
|
||||
});
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
void SendFilesBox::initSendWay() {
|
||||
|
Reference in New Issue
Block a user