Fix users UI not compiling

This commit is contained in:
Joscha 2022-03-03 01:33:53 +01:00
parent c618c492b2
commit f85f5c40b4
3 changed files with 5 additions and 6 deletions

View file

@ -1,2 +1,2 @@
mod conn; pub mod conn;
mod room; pub mod room;

View file

@ -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 {

View file

@ -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)]