feat: Support for multiple servarr definitions - no tests [skip ci]

This commit is contained in:
2025-02-27 18:00:28 -07:00
parent 111485e7c4
commit 9b63b10118
9 changed files with 191 additions and 112 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ fn draw_header_row(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
.server_tabs
.tabs
.iter()
.map(|tab| Line::from(tab.title.bold()));
.map(|tab| Line::from(tab.title.clone().bold()));
let tabs = Tabs::new(titles)
.block(borderless_block())
.highlight_style(Style::new().secondary())
@@ -144,7 +144,7 @@ fn draw_tabs(f: &mut Frame<'_>, area: Rect, title: &str, tab_state: &TabState) -
let titles = tab_state
.tabs
.iter()
.map(|tab_route| Line::from(tab_route.title.bold()));
.map(|tab_route| Line::from(tab_route.title.clone().bold()));
let tabs = Tabs::new(titles)
.block(borderless_block())
.highlight_style(Style::new().secondary())