Channel notifications from the server works

This commit is contained in:
Mikayla 2023-09-30 22:30:36 -07:00
parent 1469c02998
commit 9ba975d6ad
No known key found for this signature in database
16 changed files with 266 additions and 107 deletions

View file

@ -1816,12 +1816,19 @@ impl CollabPanel {
.left(),
)
.with_child(
Label::new(channel.name.clone(), theme.channel_name.text.clone())
.contained()
.with_style(theme.channel_name.container)
.aligned()
.left()
.flex(1., true),
Label::new(
channel.name.clone(),
theme
.channel_name
.in_state(channel.has_changed)
.text
.clone(),
)
.contained()
.with_style(theme.channel_name.container)
.aligned()
.left()
.flex(1., true),
)
.with_child(
MouseEventHandler::new::<ChannelCall, _>(ix, cx, move |_, cx| {