Fix most tests for new chat changes
This commit is contained in:
parent
3bc7024f8b
commit
db8096ccdc
4 changed files with 36 additions and 12 deletions
|
@ -181,6 +181,10 @@ impl ChatPanel {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn active_chat(&self) -> Option<ModelHandle<ChannelChat>> {
|
||||
self.active_chat.as_ref().map(|(chat, _)| chat.clone())
|
||||
}
|
||||
|
||||
pub fn load(
|
||||
workspace: WeakViewHandle<Workspace>,
|
||||
cx: AsyncAppContext,
|
||||
|
|
|
@ -1964,9 +1964,7 @@ impl CollabPanel {
|
|||
.left(),
|
||||
)
|
||||
.with_child({
|
||||
let style = collab_theme
|
||||
.channel_name
|
||||
.in_state(channel.unseen_note_version.is_some());
|
||||
let style = collab_theme.channel_name.inactive_state();
|
||||
Flex::row()
|
||||
.with_child(
|
||||
Label::new(channel.name.clone(), style.text.clone())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue