patch/list: Clear loading popup area

This commit is contained in:
Erik Kundt
2026-01-20 14:39:41 +01:00
parent b4be05e755
commit 01418b1473
+14 -10
View File
@@ -5,6 +5,7 @@ use anyhow::{anyhow, Result};
use radicle::prelude::RepoId;
use radicle::storage::ReadStorage;
use ratatui::widgets::Clear;
use serde::Serialize;
use radicle::patch::cache::Patches;
@@ -737,16 +738,19 @@ impl App {
None,
|ui| {
ui.label(frame, "");
ui.column_bar(
frame,
[Column::new(
Span::raw(" Loading ").magenta().rapid_blink(),
Constraint::Fill(1),
)]
.to_vec(),
Spacing::from(0),
Some(Borders::All),
);
ui.layout(Layout::vertical([Constraint::Min(1)]), None, |ui| {
frame.render_widget(Clear, ui.area());
ui.column_bar(
frame,
[Column::new(
Span::raw(" Loading ").magenta().rapid_blink(),
Constraint::Fill(1),
)]
.to_vec(),
Spacing::from(0),
Some(Borders::All),
);
});
},
);
},