Allow following into channel notes regardless of project

This commit is contained in:
Max Brunsfeld 2023-09-21 16:13:12 -07:00
parent ed8b022b51
commit 4ffa167256
10 changed files with 201 additions and 114 deletions

View file

@ -6848,9 +6848,9 @@ async fn test_basic_following(
let shared_screen = workspace_a.read_with(cx_a, |workspace, cx| {
workspace
.active_item(cx)
.unwrap()
.expect("no active item")
.downcast::<SharedScreen>()
.unwrap()
.expect("active item isn't a shared screen")
});
// Client B activates Zed again, which causes the previous editor to become focused again.