refactor 2

This commit is contained in:
2026-09-13 12:20:49 +07:00
parent a4dcbbc560
commit 025fd15837
9 changed files with 124 additions and 128 deletions
+7 -1
View File
@@ -260,7 +260,13 @@ impl SidebarPanel {
window: &mut Window,
cx: &mut Context<Self>,
) {
open_repo_panel(&self.dock_area, announcement, window, &mut *cx);
open_repo_panel(
&self.dock_area,
&announcement.addr(),
Some(announcement),
window,
&mut *cx,
);
}
/// Open a local repository's detail view in the dock's center.