add commit panel
This commit is contained in:
@@ -63,7 +63,8 @@ impl RepoListView {
|
||||
cx: &mut Context<Self>,
|
||||
) {
|
||||
let dock_area = self.dock_area.clone();
|
||||
let detail = cx.new(|cx| RepoDetailView::new(announcement.clone(), window, cx));
|
||||
let detail =
|
||||
cx.new(|cx| RepoDetailView::new(dock_area.clone(), announcement.clone(), window, cx));
|
||||
|
||||
if let Some(dock_area) = dock_area.upgrade() {
|
||||
dock_area.update(cx, |dock_area, cx| {
|
||||
@@ -171,7 +172,7 @@ impl Panel for RepoListView {
|
||||
}
|
||||
|
||||
fn title(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
|
||||
"Explore"
|
||||
div().text_sm().child(SharedString::from("Explore"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user