From 5aa14b6cd5fd4eacc952f965f2691ce628e6ffa0 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:44:00 -0700 Subject: [PATCH] More bytes --- src/widgets/deluge/component.jsx | 4 +-- src/widgets/downloadstation/component.jsx | 4 +-- src/widgets/filebrowser/component.jsx | 15 +++++++--- src/widgets/flood/component.jsx | 4 +-- src/widgets/fritzbox/component.jsx | 36 +++++++++++++++++++---- src/widgets/jdownloader/component.jsx | 13 ++++++-- src/widgets/nzbget/component.jsx | 13 ++++++-- src/widgets/openwrt/methods/interface.jsx | 4 +-- src/widgets/pyload/component.jsx | 6 +++- src/widgets/qbittorrent/component.jsx | 12 ++++++-- src/widgets/rutorrent/component.jsx | 4 +-- src/widgets/strelaysrv/component.jsx | 7 ++++- src/widgets/tdarr/component.jsx | 2 +- src/widgets/transmission/component.jsx | 4 +-- 14 files changed, 97 insertions(+), 31 deletions(-) diff --git a/src/widgets/deluge/component.jsx b/src/widgets/deluge/component.jsx index eb6ddfaa1..1707eb6ce 100644 --- a/src/widgets/deluge/component.jsx +++ b/src/widgets/deluge/component.jsx @@ -52,9 +52,9 @@ export default function Component({ service }) { <> - + - + {widget?.enableLeechProgress && leechTorrents.map((queueEntry) => ( diff --git a/src/widgets/downloadstation/component.jsx b/src/widgets/downloadstation/component.jsx index 016f4953a..489669a7d 100644 --- a/src/widgets/downloadstation/component.jsx +++ b/src/widgets/downloadstation/component.jsx @@ -33,9 +33,9 @@ export default function Component({ service }) { return ( - + - + ); } diff --git a/src/widgets/filebrowser/component.jsx b/src/widgets/filebrowser/component.jsx index cf5a28000..53b6d89b9 100644 --- a/src/widgets/filebrowser/component.jsx +++ b/src/widgets/filebrowser/component.jsx @@ -25,14 +25,21 @@ export default function Component({ service }) { ); } + const available = (usage?.total ?? 0) - (usage?.used ?? 0); + return ( + + - - ); } diff --git a/src/widgets/flood/component.jsx b/src/widgets/flood/component.jsx index 92a2b61a0..973f8a6fd 100644 --- a/src/widgets/flood/component.jsx +++ b/src/widgets/flood/component.jsx @@ -45,9 +45,9 @@ export default function Component({ service }) { return ( - + - + ); } diff --git a/src/widgets/fritzbox/component.jsx b/src/widgets/fritzbox/component.jsx index d7928c20b..405975059 100644 --- a/src/widgets/fritzbox/component.jsx +++ b/src/widgets/fritzbox/component.jsx @@ -47,12 +47,36 @@ export default function Component({ service }) { - - - - - - + + + + + + diff --git a/src/widgets/jdownloader/component.jsx b/src/widgets/jdownloader/component.jsx index a7722c7c4..c352902e4 100644 --- a/src/widgets/jdownloader/component.jsx +++ b/src/widgets/jdownloader/component.jsx @@ -31,12 +31,21 @@ export default function Component({ service }) { return ( - + + - ); } diff --git a/src/widgets/nzbget/component.jsx b/src/widgets/nzbget/component.jsx index a11ac9da1..401010f8d 100644 --- a/src/widgets/nzbget/component.jsx +++ b/src/widgets/nzbget/component.jsx @@ -27,11 +27,20 @@ export default function Component({ service }) { return ( - - + + ); diff --git a/src/widgets/openwrt/methods/interface.jsx b/src/widgets/openwrt/methods/interface.jsx index b746bc7e4..99e66ea2d 100644 --- a/src/widgets/openwrt/methods/interface.jsx +++ b/src/widgets/openwrt/methods/interface.jsx @@ -21,8 +21,8 @@ export default function Component({ service }) { return ( - - + + ); } diff --git a/src/widgets/pyload/component.jsx b/src/widgets/pyload/component.jsx index f618f75e5..13ee32a92 100644 --- a/src/widgets/pyload/component.jsx +++ b/src/widgets/pyload/component.jsx @@ -26,7 +26,11 @@ export default function Component({ service }) { return ( - + diff --git a/src/widgets/qbittorrent/component.jsx b/src/widgets/qbittorrent/component.jsx index 73dfacb5c..0f0fa3af3 100644 --- a/src/widgets/qbittorrent/component.jsx +++ b/src/widgets/qbittorrent/component.jsx @@ -74,9 +74,17 @@ export default function Component({ service }) { <> - + - + {widget?.enableLeechProgress && leechTorrents.map((queueEntry) => ( diff --git a/src/widgets/rutorrent/component.jsx b/src/widgets/rutorrent/component.jsx index 245a786cb..8f744b520 100644 --- a/src/widgets/rutorrent/component.jsx +++ b/src/widgets/rutorrent/component.jsx @@ -34,8 +34,8 @@ export default function Component({ service }) { return ( - - + + ); } diff --git a/src/widgets/strelaysrv/component.jsx b/src/widgets/strelaysrv/component.jsx index 026e19b70..e79345c42 100644 --- a/src/widgets/strelaysrv/component.jsx +++ b/src/widgets/strelaysrv/component.jsx @@ -29,10 +29,15 @@ export default function Component({ service }) { - + ); diff --git a/src/widgets/tdarr/component.jsx b/src/widgets/tdarr/component.jsx index 824a56b34..9dbc7e4de 100644 --- a/src/widgets/tdarr/component.jsx +++ b/src/widgets/tdarr/component.jsx @@ -46,7 +46,7 @@ export default function Component({ service }) { - + ); } diff --git a/src/widgets/transmission/component.jsx b/src/widgets/transmission/component.jsx index 474fe69f8..06b549513 100644 --- a/src/widgets/transmission/component.jsx +++ b/src/widgets/transmission/component.jsx @@ -36,9 +36,9 @@ export default function Component({ service }) { return ( - + - + ); }