refactor: replace shell with root view wrapping app content
This commit is contained in:
@@ -287,10 +287,7 @@ impl DiffPane {
|
||||
let view = view;
|
||||
move |index, _, cx| {
|
||||
if let Err(error) = view.update(cx, |this, cx| {
|
||||
let id = this
|
||||
.rows
|
||||
.get(index)
|
||||
.map(|row| row.key().to_string());
|
||||
let id = this.rows.get(index).map(|row| row.key().to_string());
|
||||
if let Some(id) = id {
|
||||
this.toggle_folder(&id, cx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user