mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Export panel minimizes to a top bar, like a Call.
This commit is contained in:
@@ -27,6 +27,13 @@ class Reader;
|
||||
} // namespace Clip
|
||||
} // namespace Media
|
||||
|
||||
namespace Export {
|
||||
class ControllerWrap;
|
||||
namespace View {
|
||||
class PanelController;
|
||||
} // namespace View
|
||||
} // namespace Export
|
||||
|
||||
namespace Data {
|
||||
|
||||
class Feed;
|
||||
@@ -44,6 +51,9 @@ public:
|
||||
return *_session;
|
||||
}
|
||||
|
||||
void startExport();
|
||||
rpl::producer<Export::View::PanelController*> currentExportView() const;
|
||||
|
||||
[[nodiscard]] base::Variable<bool> &contactsLoaded() {
|
||||
return _contactsLoaded;
|
||||
}
|
||||
@@ -395,6 +405,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
void clearExport();
|
||||
|
||||
void setupContactViewsViewer();
|
||||
void setupChannelLeavingViewer();
|
||||
void photoApplyFields(
|
||||
@@ -489,6 +501,10 @@ private:
|
||||
|
||||
not_null<AuthSession*> _session;
|
||||
|
||||
std::unique_ptr<Export::ControllerWrap> _export;
|
||||
std::unique_ptr<Export::View::PanelController> _exportPanel;
|
||||
rpl::event_stream<Export::View::PanelController*> _exportViewChanges;
|
||||
|
||||
base::Variable<bool> _contactsLoaded = { false };
|
||||
base::Variable<bool> _allChatsLoaded = { false };
|
||||
base::Observable<void> _moreChatsLoaded;
|
||||
|
Reference in New Issue
Block a user