Fix typo
This commit is contained in:
parent
ffb43c34ec
commit
d5394476c6
2 changed files with 5 additions and 2 deletions
|
|
@ -154,6 +154,7 @@ impl CoveConnMt {
|
|||
*self.conn.lock().await = CoveConn::Connected(Connected::new(tx, self.timeout));
|
||||
self.ev_tx.send(Event::StateChanged);
|
||||
|
||||
// TODO Spawn task to join room
|
||||
let result = tokio::select! {
|
||||
result = Self::recv(&self.conn, &self.ev_tx, rx) => result,
|
||||
_ = mt.perform() => Err(Error::MaintenanceAborted),
|
||||
|
|
@ -204,7 +205,9 @@ impl CoveConnMt {
|
|||
};
|
||||
|
||||
match &rpl {
|
||||
Rpl::Room(RoomRpl::Success) => {}
|
||||
Rpl::Room(RoomRpl::Success) => {
|
||||
// TODO Send event that joining room was successful?
|
||||
}
|
||||
Rpl::Room(RoomRpl::InvalidRoom { reason }) => {
|
||||
return Err(Error::InvalidRoom(reason.clone()))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ impl RoomInfo {
|
|||
match &mut self.main {
|
||||
Main::Empty => {}
|
||||
Main::Connecting => {
|
||||
let text = "Connecing...";
|
||||
let text = "Connecting...";
|
||||
let area = layout::centered(text.width() as u16, 1, area);
|
||||
frame.render_widget(Paragraph::new(Span::styled(text, styles::title())), area);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue