Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: torrent status icons #38

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading