mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
toolbx list is not prefetched before the app launches
This commit is contained in:
@@ -9,13 +9,9 @@ mod ui;
|
||||
mod util;
|
||||
|
||||
fn main() {
|
||||
let toolbx_list = VecDeque::from(ToolbxContainer::get_toolboxes());
|
||||
let factory_vec = FactoryVecDeque::new();
|
||||
|
||||
let mut model = AppModel {
|
||||
toolboxes: factory_vec,
|
||||
toolboxes: FactoryVecDeque::new(),
|
||||
};
|
||||
model.update_toolbxes(toolbx_list.into_iter());
|
||||
let app = RelmApp::new(model);
|
||||
app.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user