|
@@ -74,25 +77,33 @@ export const BitTorrrentQueueItem = ({ torrent, app }: TorrentQueueItemProps) =>
|
- {humanFileSize(size, false)}
+
+ {humanFileSize(size, false)}
+
|
- {theme.fn.largerThan('xs') && (
+ {width > MIN_WIDTH_MOBILE && (
- {downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} Mb/s` : '-'}
+
+ {downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} Mb/s` : '-'}
+
|
)}
- {theme.fn.largerThan('xs') && (
+ {width > MIN_WIDTH_MOBILE && (
- {uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} Mb/s` : '-'}
+
+ {uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} Mb/s` : '-'}
+
|
)}
- {theme.fn.largerThan('xs') && (
+ {width > MIN_WIDTH_MOBILE && (
- {torrent.eta <= 0 ? '∞' : calculateETA(torrent.eta)}
+
+ {torrent.eta <= 0 ? '∞' : calculateETA(torrent.eta)}
+
|
)}
- {(torrent.progress * 100).toFixed(1)}%
+ {(torrent.progress * 100).toFixed(1)}%
|