refactor: improve Torbox tab label rendering

This commit is contained in:
Hachi-R 2025-02-16 17:53:12 -03:00
parent cc14562edd
commit f7acb44265

View file

@ -36,20 +36,20 @@ export default function Settings() {
}, },
...(isTorboxEnabled ...(isTorboxEnabled
? [ ? [
{ {
tabLabel: ( tabLabel: (
<> <>
<img <img
src={torBoxLogo} src={torBoxLogo}
alt="TorBox" alt="TorBox"
style={{ width: 13, height: 13 }} style={{ width: 13, height: 13 }}
/>{" "} />{" "}
Torbox Torbox
</> </>
), ),
contentTitle: "TorBox", contentTitle: "TorBox",
}, },
] ]
: []), : []),
{ tabLabel: "Real-Debrid", contentTitle: "Real-Debrid" }, { tabLabel: "Real-Debrid", contentTitle: "Real-Debrid" },
]; ];