Connected Devices: fix stream finish

This commit is contained in:
Ultradesu
2026-07-24 01:31:16 +03:00
parent f85c806b43
commit cc3153cc3a
2 changed files with 138 additions and 77 deletions
+3
View File
@@ -939,6 +939,9 @@ pub(crate) fn device_connect(runtime: &Runtime, invite: String) {
let devices = Arc::clone(&runtime.devices);
let tx = runtime.event_tx.clone();
tokio::spawn(async move {
let _ = tx.send(AppEvent::StatusMessage(
"waiting for device confirmation...".to_string(),
));
let result = fed
.device_connect(&invite)
.await