Render editor and pseudo message
This commit is contained in:
parent
4ead592e59
commit
415da3afd8
6 changed files with 132 additions and 42 deletions
|
|
@ -61,9 +61,9 @@ impl<M: Msg, S: MsgStore<M>> ChatState<M, S> {
|
|||
&self.store
|
||||
}
|
||||
|
||||
pub fn widget(&self) -> Chat<M, S> {
|
||||
pub fn widget(&self, nick: String) -> Chat<M, S> {
|
||||
match self.mode {
|
||||
Mode::Tree => Chat::Tree(self.tree.widget()),
|
||||
Mode::Tree => Chat::Tree(self.tree.widget(nick)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue