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:
parent
1c4c568068
commit
eb648dd096
2 changed files with 64 additions and 28 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue