We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada4f8c commit fe50c9aCopy full SHA for fe50c9a
src/handler.rs
@@ -344,10 +344,17 @@ pub async fn handle_key_events(
344
.unwrap()
345
.new_networks[net_index]
346
.clone();
347
+
348
+ let mode = app.current_mode.clone();
349
tokio::spawn(async move {
350
net.connect(sender.clone())
351
.await
352
.unwrap();
353
354
+ sender
355
+ .clone()
356
+ .send(Event::Reset(mode))
357
+ .unwrap();
358
});
359
}
360
0 commit comments