fix(ui): render detail popup labels in bold

Span::style assigns rather than patches, so chaining it after bold()
discarded the modifier that bold() had just set and every detail popup
label rendered plain. Apply the modifier to the style itself instead.

Snapshots compare rendered text and cannot observe styling, so this is
pinned by asserting the label span's modifier directly.
This commit is contained in:
Dark-Alex-17 committed 2026-09-03 16:31:12 -06:00
1 parent a311e2b895
commit da6c9e7b66
5 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ fn draw_movie_details(f: &mut Frame<'_>, app: &App<'_>, area: Rect) {
let style = style_from_download_status(download_status, is_monitored, status.clone());
Line::from(vec![
title.bold().style(style),
Span::styled(title, style.bold()),
Span::styled(split[1..].join(":"), style),
])
})