Follow-up tweaks to new git panel footer (#25832)
- Use a popover for the branch picker - Don't deploy a repository selector if there's only one repo Release Notes: - N/A
This commit is contained in:
@@ -47,6 +47,10 @@ impl RepositorySelector {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn repositories_len(&self, cx: &App) -> usize {
|
||||
self.picker.read(cx).delegate.repository_entries.len()
|
||||
}
|
||||
|
||||
fn handle_project_git_event(
|
||||
&mut self,
|
||||
git_store: &Entity<GitStore>,
|
||||
|
||||
Reference in New Issue
Block a user