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:
Adam Cosner 2024-11-20 16:32:37 -08:00 committed by Ashley Wulber
parent 525a14cfb1
commit a64529af17
15 changed files with 34 additions and 34 deletions

View file

@ -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()