diff --git a/crates/librqbit/webui/src/rqbit-web.tsx b/crates/librqbit/webui/src/rqbit-web.tsx index 74950b5..8dd4644 100644 --- a/crates/librqbit/webui/src/rqbit-web.tsx +++ b/crates/librqbit/webui/src/rqbit-web.tsx @@ -197,9 +197,12 @@ const Speed: React.FC<{ statsResponse: TorrentStats }> = ({ statsResponse }) => } return <> - {!statsResponse.finished &&

↓ {statsResponse.live.download_speed.human_readable}

} -

↑ {statsResponse.live.upload_speed.human_readable}

- {statsResponse.live.snapshot.uploaded_bytes > 0 &&

Uploaded {formatBytes(statsResponse.live.snapshot.uploaded_bytes)}

} + {!statsResponse.finished && +
↓ {statsResponse.live.download_speed.human_readable}
} +
+ ↑ {statsResponse.live.upload_speed.human_readable} + {statsResponse.live.snapshot.uploaded_bytes > 0 && + (total {formatBytes(statsResponse.live.snapshot.uploaded_bytes)}})
}