feat: load page data asynchronously with tokio

This commit is contained in:
Michael Aaron Murphy 2023-01-31 00:38:12 +01:00
parent b2cb2b2e70
commit d4c83c6de7
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
7 changed files with 48 additions and 60 deletions

View file

@ -66,7 +66,7 @@ pub enum Message {
}
impl Application for SettingsApp {
type Executor = iced::executor::Default;
type Executor = cosmic::executor::single::Executor;
type Flags = ();
type Message = Message;
type Theme = Theme;