mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
implement background message handler (worker)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
use std::collections::VecDeque;
|
||||
|
||||
use relm4::{
|
||||
factory::{FactoryVecDeque},
|
||||
RelmApp,
|
||||
};
|
||||
use relm4::{factory::FactoryVecDeque, RelmApp};
|
||||
use toolbx::ToolbxContainer;
|
||||
use ui::app::model::AppModel;
|
||||
|
||||
@@ -13,7 +10,7 @@ mod ui;
|
||||
fn main() {
|
||||
let toolbx_list = VecDeque::from(ToolbxContainer::get_toolboxes());
|
||||
let factory_vec = FactoryVecDeque::new();
|
||||
|
||||
|
||||
let mut model = AppModel {
|
||||
toolboxes: factory_vec,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user