remove more commented code
This commit is contained in:
parent
3a836b8026
commit
5897b18cfd
10 changed files with 63 additions and 134 deletions
|
@ -1426,14 +1426,6 @@ impl CollabPanel {
|
|||
self.toggle_channel_collapsed(id, cx)
|
||||
}
|
||||
|
||||
// fn toggle_channel_collapsed_action(
|
||||
// &mut self,
|
||||
// action: &ToggleCollapse,
|
||||
// cx: &mut ViewContext<Self>,
|
||||
// ) {
|
||||
// self.toggle_channel_collapsed(action.location, cx);
|
||||
// }
|
||||
|
||||
fn toggle_channel_collapsed<'a>(&mut self, channel_id: ChannelId, cx: &mut ViewContext<Self>) {
|
||||
match self.collapsed_channels.binary_search(&channel_id) {
|
||||
Ok(ix) => {
|
||||
|
@ -1910,7 +1902,6 @@ impl CollabPanel {
|
|||
let mut channel_link = None;
|
||||
let mut channel_tooltip_text = None;
|
||||
let mut channel_icon = None;
|
||||
// let mut is_dragged_over = false;
|
||||
|
||||
let text = match section {
|
||||
Section::ActiveCall => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue