Create the asynchronous communication channel between the UI and the core app loop. #126
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
adw = { version = "0.5", package = "libadwaita", features = [ "v1_2" ] }
|
||||
async-channel = "2.1.1"
|
||||
async-channel = { version = "2.1" }
|
||||
emseries = { path = "../../emseries" }
|
||||
ft-core = { path = "../core" }
|
||||
gio = { version = "0.18" }
|
||||
|
|
|
@ -457,7 +457,6 @@ fn main() {
|
|||
let _ = app_tx.send(AppInvocation::RequestRecords).await;
|
||||
|
||||
while let Ok(response) = ui_rx.recv().await {
|
||||
println!("response received: {:?}", response);
|
||||
window.process_response(response);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue