diff --git a/renderer/views/torrent-list.js b/renderer/views/torrent-list.js index 7ab87cc4..718438d4 100644 --- a/renderer/views/torrent-list.js +++ b/renderer/views/torrent-list.js @@ -49,13 +49,12 @@ function renderTorrent (state, dispatch, torrent) { // Renders the torrent name and download progress function renderTorrentMetadata (torrent) { - var progress = Math.floor(100 * torrent.progress) return hx`
${torrent.name || 'Loading torrent...'}
- ${progress}% - ${prettyBytes((torrent.length / 100) * progress)} / ${prettyBytes(torrent.length)} + ${Math.floor(100 * torrent.progress)}% + ${prettyBytes(torrent.length * torrent.progress)} / ${prettyBytes(torrent.length)}
${getFilesLength()} ${getPeers()}