Remove workspace -> channel dependency
This commit is contained in:
parent
3412bb75be
commit
f8ca86c6a7
12 changed files with 41 additions and 47 deletions
|
@ -73,7 +73,7 @@ impl ChannelView {
|
|||
) -> Task<Result<ViewHandle<Self>>> {
|
||||
let workspace = workspace.read(cx);
|
||||
let project = workspace.project().to_owned();
|
||||
let channel_store = workspace.app_state().channel_store.clone();
|
||||
let channel_store = ChannelStore::global(cx);
|
||||
let markdown = workspace
|
||||
.app_state()
|
||||
.languages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue