feat: Added TUI and CLI support for viewing Artist history in Lidarr
This commit is contained in:
@@ -117,7 +117,7 @@ impl DrawUi for SeasonDetailsUi {
|
||||
draw_manual_season_search_confirm_prompt(f, app);
|
||||
}
|
||||
ActiveSonarrBlock::SeasonHistoryDetails => {
|
||||
draw_history_item_details_popup(f, app, popup_area);
|
||||
draw_history_item_details_popup(f, app);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
@@ -527,7 +527,7 @@ fn draw_manual_season_search_confirm_prompt(f: &mut Frame<'_>, app: &mut App<'_>
|
||||
}
|
||||
}
|
||||
|
||||
fn draw_history_item_details_popup(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
fn draw_history_item_details_popup(f: &mut Frame<'_>, app: &mut App<'_>) {
|
||||
let current_selection =
|
||||
if let Some(season_details_modal) = app.data.sonarr_data.season_details_modal.as_ref() {
|
||||
if season_details_modal.season_history.is_empty() {
|
||||
@@ -550,7 +550,7 @@ fn draw_history_item_details_popup(f: &mut Frame<'_>, app: &mut App<'_>, area: R
|
||||
.style(secondary_style())
|
||||
.alignment(Alignment::Left);
|
||||
|
||||
f.render_widget(Popup::new(message).size(Size::NarrowLongMessage), area);
|
||||
f.render_widget(Popup::new(message).size(Size::NarrowLongMessage), f.area());
|
||||
}
|
||||
|
||||
fn decorate_with_row_style<'a>(
|
||||
|
||||
Reference in New Issue
Block a user