Code quality

This commit is contained in:
Conrad Irwin 2023-10-09 09:34:18 -06:00
parent 8f4d81903c
commit 6084486dcd
2 changed files with 13 additions and 16 deletions

View file

@ -798,7 +798,7 @@ impl Client {
}
}
}
status = status_rx.next().fuse() => {
_ = status_rx.next().fuse() => {
return Err(anyhow!("authentication canceled"));
}
}

View file

@ -1976,21 +1976,18 @@ impl CollabPanel {
let style = collab_theme.channel_name.inactive_state();
Flex::row()
.with_child(
Label::new(
channel.name.clone().to_owned() + channel_id.to_string().as_str(),
style.text.clone(),
)
.contained()
.with_style(style.container)
.aligned()
.left()
.with_tooltip::<ChannelTooltip>(
ix,
"Join channel",
None,
theme.tooltip.clone(),
cx,
),
Label::new(channel.name.clone(), style.text.clone())
.contained()
.with_style(style.container)
.aligned()
.left()
.with_tooltip::<ChannelTooltip>(
ix,
"Join channel",
None,
theme.tooltip.clone(),
cx,
),
)
.with_children({
let participants =