Changed cosmic::command module to cosmic::task and changed cosmic::Task to reexport cosmic::app::Task instead of iced::Task
This commit is contained in:
parent
525a14cfb1
commit
a64529af17
15 changed files with 34 additions and 34 deletions
|
|
@ -11,7 +11,7 @@
|
|||
//! # Open a file
|
||||
//!
|
||||
//! ```no_run
|
||||
//! cosmic::command::future(async {
|
||||
//! cosmic::task::future(async {
|
||||
//! use cosmic::dialog::file_chooser;
|
||||
//!
|
||||
//! let dialog = file_chooser::open::Dialog::new()
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
//! # Open multiple files
|
||||
//!
|
||||
//! ```no_run
|
||||
//! cosmic::command::future(async {
|
||||
//! cosmic::task::future(async {
|
||||
//! use cosmic::dialog::file_chooser;
|
||||
//!
|
||||
//! let dialog = file_chooser::open::Dialog::new()
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
//! # Open a folder
|
||||
//!
|
||||
//! ```no_run
|
||||
//! cosmic::command::future(async {
|
||||
//! cosmic::task::future(async {
|
||||
//! use cosmic::dialog::file_chooser;
|
||||
//!
|
||||
//! let dialog = file_chooser::open::Dialog::new()
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
//! # Open multiple folders
|
||||
//!
|
||||
//! ```no_run
|
||||
//! cosmic::command::future(async {
|
||||
//! cosmic::task::future(async {
|
||||
//! use cosmic::dialog::file_chooser;
|
||||
//!
|
||||
//! let dialog = file_chooser::open::Dialog::new()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue