Have the app actually open

This commit is contained in:
dav 2024-07-13 17:00:46 -07:00 committed by David Zhong
parent 74325059a7
commit 753e50f79d
2 changed files with 2 additions and 2 deletions

View file

@ -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 {