mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Move export management to Core::App.
This commit is contained in:
@@ -28,6 +28,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ui/toast/toast.h"
|
||||
#include "ui/image/image.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "export/export_manager.h"
|
||||
#include "window/themes/window_theme.h"
|
||||
#include "window/themes/window_themes_embedded.h"
|
||||
#include "window/themes/window_theme_editor_box.h"
|
||||
@@ -803,7 +804,7 @@ void SetupExport(
|
||||
base::call_delayed(
|
||||
st::boxDuration,
|
||||
session,
|
||||
[=] { session->data().startExport(); });
|
||||
[=] { Core::App().exportManager().start(session); });
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user