Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recent projects: cleanup ui #7528

Merged
merged 19 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/collab_ui/src/collab_panel/channel_modal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl ChannelModal {
cx.observe(&channel_store, |_, _, cx| cx.notify()).detach();
let channel_modal = cx.view().downgrade();
let picker = cx.new_view(|cx| {
Picker::new(
Picker::uniform_list(
ChannelModalDelegate {
channel_modal,
matching_users: Vec::new(),
Expand Down
2 changes: 1 addition & 1 deletion crates/collab_ui/src/collab_panel/contact_finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl ContactFinder {
potential_contacts: Arc::from([]),
selected_index: 0,
};
let picker = cx.new_view(|cx| Picker::new(delegate, cx).modal(false));
let picker = cx.new_view(|cx| Picker::uniform_list(delegate, cx).modal(false));

Self { picker }
}
Expand Down
2 changes: 1 addition & 1 deletion crates/command_palette/src/command_palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl CommandPalette {
previous_focus_handle,
);

let picker = cx.new_view(|cx| Picker::new(delegate, cx));
let picker = cx.new_view(|cx| Picker::uniform_list(delegate, cx));
SomeoneToIgnore marked this conversation as resolved.
Show resolved Hide resolved
Self { picker }
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/file_finder/src/file_finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl FileFinder {

fn new(delegate: FileFinderDelegate, cx: &mut ViewContext<Self>) -> Self {
Self {
picker: cx.new_view(|cx| Picker::new(delegate, cx)),
picker: cx.new_view(|cx| Picker::uniform_list(delegate, cx)),
}
}
}
Expand Down
Loading
Loading