Have the app actually open
This commit is contained in:
parent
74325059a7
commit
753e50f79d
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ use anyhow::Result;
|
|||
|
||||
fn main() -> Result<()> {
|
||||
compile_gresources()?;
|
||||
tonic_build::compile_protos("../proto/burrow.proto")?;
|
||||
tonic_build::compile_protos("proto/burrow.proto")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ impl AsyncComponent for App {
|
|||
sender: AsyncComponentSender<Self>,
|
||||
) -> AsyncComponentParts<Self> {
|
||||
// TODO: RPC REFACTOR (Handle Error)
|
||||
let daemon_client = Arc::new(Mutex::new(Some(daemon::daemon_connect().await.unwrap())));
|
||||
let daemon_client = Arc::new(Mutex::new(daemon::daemon_connect().await.ok()));
|
||||
|
||||
let switch_screen = switch_screen::SwitchScreen::builder()
|
||||
.launch(switch_screen::SwitchScreenInit {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue