summaryrefslogtreecommitdiffstats
path: root/examples/pokedex/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/pokedex/src/main.rs (renamed from examples/pokedex.rs)5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/pokedex.rs b/examples/pokedex/src/main.rs
index 7326f94f..283437b2 100644
--- a/examples/pokedex.rs
+++ b/examples/pokedex/src/main.rs
@@ -1,6 +1,6 @@
use iced::{
- button, image, Align, Application, Button, Column, Command, Container,
- Element, Image, Length, Row, Settings, Text,
+ button, futures, image, Align, Application, Button, Column, Command,
+ Container, Element, Image, Length, Row, Settings, Text,
};
pub fn main() {
@@ -27,6 +27,7 @@ enum Message {
}
impl Application for Pokedex {
+ type Executor = iced_futures::executor::AsyncStd;
type Message = Message;
fn new() -> (Pokedex, Command<Message>) {