Add key binding to change rooms sort order
This commit is contained in:
parent
c9eee7f1d0
commit
ac13f4b490
3 changed files with 49 additions and 11 deletions
|
|
@ -47,6 +47,15 @@ pub enum RoomStatus {
|
|||
Connected(Status),
|
||||
}
|
||||
|
||||
impl RoomStatus {
|
||||
pub fn connecting_or_connected(&self) -> bool {
|
||||
match self {
|
||||
Self::NoRoom | Self::Stopped => false,
|
||||
Self::Connecting | Self::Connected(_) => true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct EuphRoom {
|
||||
config: config::EuphRoom,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue