mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Export panel minimizes to a top bar, like a Call.
This commit is contained in:
@@ -16,8 +16,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_session.h"
|
||||
#include "data/data_feed.h"
|
||||
#include "passport/passport_form_controller.h"
|
||||
#include "export/export_controller.h"
|
||||
#include "export/view/export_view_panel_controller.h"
|
||||
#include "boxes/calendar_box.h"
|
||||
#include "mainwidget.h"
|
||||
#include "mainwindow.h"
|
||||
@@ -418,24 +416,6 @@ void Controller::clearPassportForm() {
|
||||
_passportForm = nullptr;
|
||||
}
|
||||
|
||||
void Controller::startDataExport() {
|
||||
using namespace Export;
|
||||
|
||||
_export = std::make_unique<Export::ControllerWrap>();
|
||||
_exportPanel = std::make_unique<Export::View::PanelController>(
|
||||
_export.get());
|
||||
|
||||
_exportPanel->closed(
|
||||
) | rpl::start_with_next([=] {
|
||||
clearDataExport();
|
||||
}, _export->lifetime());
|
||||
}
|
||||
|
||||
void Controller::clearDataExport() {
|
||||
_exportPanel = nullptr;
|
||||
_export = nullptr;
|
||||
}
|
||||
|
||||
void Controller::updateColumnLayout() {
|
||||
App::main()->updateColumnLayout();
|
||||
}
|
||||
|
Reference in New Issue
Block a user