Fix users UI not compiling
This commit is contained in:
parent
c618c492b2
commit
f85f5c40b4
3 changed files with 5 additions and 6 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
mod conn;
|
pub mod conn;
|
||||||
mod room;
|
pub mod room;
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ pub enum Event {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Present {
|
pub struct Present {
|
||||||
session: Session,
|
pub session: Session,
|
||||||
others: HashMap<SessionId, Session>,
|
pub others: HashMap<SessionId, Session>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Present {
|
impl Present {
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,10 @@ use std::iter;
|
||||||
use cove_core::{Identity, Session};
|
use cove_core::{Identity, Session};
|
||||||
use tui::buffer::Buffer;
|
use tui::buffer::Buffer;
|
||||||
use tui::layout::Rect;
|
use tui::layout::Rect;
|
||||||
use tui::style::{Modifier, Style};
|
|
||||||
use tui::text::{Span, Spans};
|
use tui::text::{Span, Spans};
|
||||||
use tui::widgets::{Paragraph, Widget};
|
use tui::widgets::{Paragraph, Widget};
|
||||||
|
|
||||||
use crate::room::Present;
|
use crate::cove::conn::Present;
|
||||||
use crate::ui::styles;
|
use crate::ui::styles;
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue