mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
Code quality
This commit is contained in:
parent
8f4d81903c
commit
6084486dcd
2 changed files with 13 additions and 16 deletions
|
@ -798,7 +798,7 @@ impl Client {
|
|||
}
|
||||
}
|
||||
}
|
||||
status = status_rx.next().fuse() => {
|
||||
_ = status_rx.next().fuse() => {
|
||||
return Err(anyhow!("authentication canceled"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue