chore: Spans -> Line, ratatui 0.21 update

This commit is contained in:
Jack Wills
2023-06-03 20:30:00 +00:00
parent 0caa92f6a4
commit 4679ddc885
3 changed files with 30 additions and 32 deletions
+1 -3
View File
@@ -278,9 +278,7 @@ fn draw_frame<B: Backend>(
);
if let Some(id) = delete_confirm {
let name = app_data.lock().get_container_name_by_id(&id);
name.map_or_else(
|| {
app_data.lock().get_container_name_by_id(&id).map_or_else(|| {
// If a container is deleted outside of oxker but whilst the Delete Confirm dialog is open, it can get caught in kind of a dead lock situation
// so if in that unique situation, just clear the delete_container id
gui_state.lock().set_delete_container(None);