From 314ccc7a233bb2f8f62ae0885ff4a4a57d228ca7 Mon Sep 17 00:00:00 2001 From: Someone <10882916+InterN0te@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:15:56 +0100 Subject: [PATCH] Fix info for displayRatioWithFilter switch --- public/locales/en/modules/torrents-status.json | 2 +- src/widgets/torrent/TorrentTile.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/locales/en/modules/torrents-status.json b/public/locales/en/modules/torrents-status.json index e06c0a969..64da470a1 100644 --- a/public/locales/en/modules/torrents-status.json +++ b/public/locales/en/modules/torrents-status.json @@ -22,7 +22,7 @@ }, "displayRatioWithFilter": { "label": "Display filtered torrents list ratio", - "description": "If disabled, only the global ratio will be display. The global ratio will still use the labels if set" + "info": "If disabled, only the global ratio will be display. The global ratio will still use the labels if set" } } }, diff --git a/src/widgets/torrent/TorrentTile.tsx b/src/widgets/torrent/TorrentTile.tsx index 4cf0ad86a..3f6100ff2 100644 --- a/src/widgets/torrent/TorrentTile.tsx +++ b/src/widgets/torrent/TorrentTile.tsx @@ -55,6 +55,7 @@ const definition = defineWidget({ displayRatioWithFilter: { type: 'switch', defaultValue: true, + info: true, }, }, gridstack: {