build: Upgraded to Ratatui v0.30.0 and fixed a new security vulnerability [#13]
This commit is contained in:
@@ -173,7 +173,7 @@ fn draw_stats_context(f: &mut Frame<'_>, app: &App<'_>, area: Rect) {
|
||||
let space: f64 = convert_to_gb(*free_space);
|
||||
let root_folder_space = Paragraph::new(format!("{path}: {space:.2} GB free"))
|
||||
.block(borderless_block())
|
||||
.default();
|
||||
.default_color();
|
||||
|
||||
f.render_widget(
|
||||
root_folder_space,
|
||||
@@ -224,7 +224,7 @@ fn draw_sonarr_logo(f: &mut Frame<'_>, area: Rect) {
|
||||
let logo_text = Text::from(SONARR_LOGO);
|
||||
let logo = Paragraph::new(logo_text)
|
||||
.light_cyan()
|
||||
.block(layout_block().default())
|
||||
.block(layout_block().default_color())
|
||||
.centered();
|
||||
f.render_widget(logo, area);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user