Dequalify WindowContext and ViewContext references (#22477)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2024-12-28 16:09:55 -07:00 committed by GitHub
parent 016b5d60e1
commit a15360bcc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 43 additions and 51 deletions

View file

@ -3810,7 +3810,7 @@ fn item_width_estimate(depth: usize, item_text_chars: usize, is_symlink: bool) -
}
impl Render for ProjectPanel {
fn render(&mut self, cx: &mut gpui::ViewContext<Self>) -> impl IntoElement {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
let has_worktree = !self.visible_entries.is_empty();
let project = self.project.read(cx);
let indent_size = ProjectPanelSettings::get_global(cx).indent_size;