Align return of close_active_item to match original format
This commit is contained in:
@@ -787,7 +787,7 @@ impl Pane {
|
||||
let pane = pane_handle.read(cx);
|
||||
|
||||
if pane.items.is_empty() {
|
||||
return Some(Task::Ready(Some(Ok(()))));
|
||||
return None;
|
||||
}
|
||||
let active_item_id = pane.items[pane.active_item_index].id();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user