Skip to content

Commit

Permalink
feat: add color to directory header in file popup
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanaden committed Jun 23, 2024
1 parent 939a2f6 commit 126dd76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rm-main/src/ui/tabs/torrents/popups/files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@ impl Component for FilesPopup {
}
};
let block = block
.title(Title::from(format!(" {} ", download_dir)).alignment(Alignment::Right))
.title(
Title::from(format!(" {} ", download_dir).set_style(highlight_style))
.alignment(Alignment::Right),
)
.title(
Title::from(" [ CLOSE ] ".set_style(close_button_style))
.alignment(Alignment::Right)
Expand Down

0 comments on commit 126dd76

Please sign in to comment.