2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Confirm export stop on quit and logout.

This commit is contained in:
John Preston
2018-06-20 18:30:57 +01:00
parent 13e6b91ac7
commit 154e5660de
6 changed files with 74 additions and 11 deletions

View File

@@ -53,6 +53,9 @@ public:
void startExport();
rpl::producer<Export::View::PanelController*> currentExportView() const;
bool exportInProgress() const;
void stopExportWithConfirmation(FnMut<void()> callback);
void stopExport();
[[nodiscard]] base::Variable<bool> &contactsLoaded() {
return _contactsLoaded;
@@ -405,8 +408,6 @@ public:
}
private:
void clearExport();
void setupContactViewsViewer();
void setupChannelLeavingViewer();
void photoApplyFields(