Skip to content

Commit

Permalink
add missing icons
Browse files Browse the repository at this point in the history
  • Loading branch information
micielski committed Aug 17, 2024
1 parent d6e452b commit c8eee10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rm-main/src/tui/tabs/search/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl Component for SearchTab {
}
};

let paragraph_text = format!(" {input}");
let paragraph_text = format!("{} {input}", CONFIG.icons.magnifying_glass);
let prefix_len = paragraph_text.len() - input.len() - 2;
let paragraph = Paragraph::new(paragraph_text).style(search_style);

Expand Down
2 changes: 1 addition & 1 deletion rm-main/src/tui/tabs/torrents/bottom_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl Component for BottomStats {

if let Some(free_space) = &self.free_space {
let free_space = bytes_to_human_format(free_space.size_bytes);
text = format!("󰋊 {free_space} | {text}")
text = format!("{} {free_space} | {text}", CONFIG.icons.disk)
}

if self.torrent_count > 0 {
Expand Down

0 comments on commit c8eee10

Please sign in to comment.