refactor: replace shell with root view wrapping app content
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-22 21:45:09 +07:00
parent 531493008e
commit ccaa48a112
17 changed files with 259 additions and 284 deletions
+1 -4
View File
@@ -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);
}