More following tests
This commit is contained in:
parent
81d707adbc
commit
f239a8292e
4 changed files with 1108 additions and 1187 deletions
|
@ -2451,11 +2451,11 @@ impl Workspace {
|
|||
Some(leader_id)
|
||||
}
|
||||
|
||||
// pub fn is_being_followed(&self, peer_id: PeerId) -> bool {
|
||||
// self.follower_states
|
||||
// .values()
|
||||
// .any(|state| state.leader_id == peer_id)
|
||||
// }
|
||||
pub fn is_being_followed(&self, peer_id: PeerId) -> bool {
|
||||
self.follower_states
|
||||
.values()
|
||||
.any(|state| state.leader_id == peer_id)
|
||||
}
|
||||
|
||||
fn active_item_path_changed(&mut self, cx: &mut ViewContext<Self>) {
|
||||
let active_entry = self.active_project_path(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue