summaryrefslogtreecommitdiffstats
path: root/examples/todos/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/todos/src')
-rw-r--r--examples/todos/src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 8262b537..a4009874 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -38,12 +38,7 @@ enum Message {
}
impl Application for Todos {
- #[cfg(not(target_arch = "wasm32"))]
- type Executor = iced_futures::executor::AsyncStd;
-
- #[cfg(target_arch = "wasm32")]
- type Executor = iced_futures::executor::WasmBindgen;
-
+ type Executor = iced::executor::Default;
type Message = Message;
fn new() -> (Todos, Command<Message>) {