Fix toasts for Extract and Compress
This commit is contained in:
parent
5fd7be593a
commit
162768af8f
1 changed files with 6 additions and 0 deletions
|
|
@ -2914,6 +2914,12 @@ impl Application for App {
|
||||||
)
|
)
|
||||||
.map(cosmic::Action::App),
|
.map(cosmic::Action::App),
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
commands.push(
|
||||||
|
self.toasts
|
||||||
|
.push(widget::toaster::Toast::new(description))
|
||||||
|
.map(cosmic::Action::App),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue