diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 12:22:08 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 12:22:08 +0100 |
commit | 1a0219f3132bb4ddbbf5b8ebc811be9ea4d5021e (patch) | |
tree | 5272547a56e33db5f5d4aca7a1d27c080ac1e9ff | |
parent | 1a8fb482ce655ef0c9cc461643039db765713263 (diff) |
Load profile instead of in-memory dummy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | gui/src/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/app.rs b/gui/src/app.rs index dab136e..f9dedaa 100644 --- a/gui/src/app.rs +++ b/gui/src/app.rs @@ -52,7 +52,7 @@ impl Application for Distrox { ( Distrox::Loading, iced::Command::perform(async move { - match Profile::new_inmemory(Config::default(), &name).await { + match Profile::load(Config::default(), &name).await { Err(_) => Message::FailedToLoad, Ok(instance) => { Message::Loaded(Arc::new(instance)) |