markdown: Make cx the last parameter to Markdown::new_text (#21497)
This PR is a follow-up to https://github.com/zed-industries/zed/pull/21487 to make sure that the `cx` is the last parameter to `Markdown::new_text` as well. Release Notes: - N/A
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user