mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Improve export progress / finished design.
This commit is contained in:
@@ -1693,7 +1693,8 @@ void MainWidget::setCurrentExportView(Export::View::PanelController *view) {
|
||||
if (_currentExportView) {
|
||||
_currentExportView->progressState(
|
||||
) | rpl::start_with_next([=](Export::View::Content &&data) {
|
||||
if (data.rows.empty()) {
|
||||
if (!data.rows.empty()
|
||||
&& data.rows[0].id == Export::View::Content::kDoneId) {
|
||||
destroyExportTopBar();
|
||||
} else if (!_exportTopBar) {
|
||||
createExportTopBar(std::move(data));
|
||||
|
Reference in New Issue
Block a user