Skip to content

Commit

Permalink
feat: tick icon for completed torrnets
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanaden committed Jun 24, 2024
1 parent 939a2f6 commit 7166c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rm-main/src/ui/tabs/torrents/rustmission_torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl From<&Torrent> for RustmissionTorrent {
let size_when_done = bytes_to_human_format(t.size_when_done.expect("field requested"));

let progress = match t.percent_done.expect("field requested") {
done if done == 1f32 => String::default(),
done if done == 1f32 => "✓".to_string(),
percent => format!("{:.2}%", percent * 100f32),
};

Expand Down

0 comments on commit 7166c44

Please sign in to comment.