chore: formatting
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
use crate::models::DownloadEntry;
|
||||
use crate::ui::{
|
||||
border_style, border_type, error_style, format_bytes, format_speed,
|
||||
header_style, highlight_style, inactive_style, success_style,
|
||||
warning_style, HIGHLIGHT_SYMBOL,
|
||||
HIGHLIGHT_SYMBOL, border_style, border_type, error_style, format_bytes,
|
||||
format_speed, header_style, highlight_style, inactive_style, success_style,
|
||||
warning_style,
|
||||
};
|
||||
use ratatui::{
|
||||
Frame,
|
||||
layout::Rect,
|
||||
widgets::{
|
||||
Block, Borders, Cell, HighlightSpacing, Paragraph, Row, Table,
|
||||
TableState,
|
||||
},
|
||||
Frame,
|
||||
};
|
||||
use soulseek_rs::DownloadStatus;
|
||||
|
||||
|
||||
@@ -3,5 +3,5 @@ mod results_pane;
|
||||
mod searches_pane;
|
||||
|
||||
pub use downloads_pane::render_downloads_pane;
|
||||
pub use results_pane::{render_results_pane, ResultsPaneParams};
|
||||
pub use results_pane::{ResultsPaneParams, render_results_pane};
|
||||
pub use searches_pane::render_searches_pane;
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
use crate::models::FileDisplayData;
|
||||
use crate::ui::{
|
||||
border_style, border_type, format_bytes, header_style, highlight_style,
|
||||
HIGHLIGHT_SYMBOL,
|
||||
HIGHLIGHT_SYMBOL, border_style, border_type, format_bytes, header_style,
|
||||
highlight_style,
|
||||
};
|
||||
use ratatui::{
|
||||
Frame,
|
||||
layout::Rect,
|
||||
widgets::{
|
||||
Block, Borders, Cell, HighlightSpacing, Paragraph, Row, Table,
|
||||
TableState,
|
||||
},
|
||||
Frame,
|
||||
};
|
||||
use std::collections::HashSet;
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
use crate::models::{SearchEntry, SearchStatus};
|
||||
use crate::ui::{
|
||||
border_style, border_type, header_style, highlight_style, success_style,
|
||||
warning_style, HIGHLIGHT_SYMBOL,
|
||||
HIGHLIGHT_SYMBOL, border_style, border_type, header_style, highlight_style,
|
||||
success_style, warning_style,
|
||||
};
|
||||
use ratatui::{
|
||||
Frame,
|
||||
layout::Rect,
|
||||
widgets::{Block, Borders, Cell, HighlightSpacing, Row, Table, TableState},
|
||||
Frame,
|
||||
};
|
||||
|
||||
pub fn render_searches_pane(
|
||||
|
||||
Reference in New Issue
Block a user