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::prelude::RepoId;
use radicle::storage::ReadStorage; use radicle::storage::ReadStorage;
use ratatui::widgets::Clear;
use serde::Serialize; use serde::Serialize;
use radicle::patch::cache::Patches; use radicle::patch::cache::Patches;
@@ -737,16 +738,19 @@ impl App {
None, None,
|ui| { |ui| {
ui.label(frame, ""); ui.label(frame, "");
ui.column_bar( ui.layout(Layout::vertical([Constraint::Min(1)]), None, |ui| {
frame, frame.render_widget(Clear, ui.area());
[Column::new( ui.column_bar(
Span::raw(" Loading ").magenta().rapid_blink(), frame,
Constraint::Fill(1), [Column::new(
)] Span::raw(" Loading ").magenta().rapid_blink(),
.to_vec(), Constraint::Fill(1),
Spacing::from(0), )]
Some(Borders::All), .to_vec(),
); Spacing::from(0),
Some(Borders::All),
);
});
}, },
); );
}, },