Change summary
crates/editor/src/hover_popover.rs | 2 +-
crates/markdown/src/markdown.rs | 2 +-
crates/recent_projects/src/ssh_connections.rs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Detailed changes
@@ -378,7 +378,7 @@ fn show_hover(
},
..Default::default()
};
- Markdown::new_text(text, markdown_style.clone(), None, cx, None)
+ Markdown::new_text(text, markdown_style.clone(), None, None, cx)
})
.ok();
@@ -97,8 +97,8 @@ impl Markdown {
source: String,
style: MarkdownStyle,
language_registry: Option<Arc<LanguageRegistry>>,
- cx: &ViewContext<Self>,
fallback_code_block_language: Option<String>,
+ cx: &ViewContext<Self>,
) -> Self {
let focus_handle = cx.focus_handle();
let mut this = Self {
@@ -201,7 +201,7 @@ impl SshPrompt {
selection_background_color: cx.theme().players().local().selection,
..Default::default()
};
- let markdown = cx.new_view(|cx| Markdown::new_text(prompt, markdown_style, None, cx, None));
+ let markdown = cx.new_view(|cx| Markdown::new_text(prompt, markdown_style, None, None, cx));
self.prompt = Some((markdown, tx));
self.status_message.take();
cx.focus_view(&self.editor);