web/settings: add an option to hide the remux tab on mobile
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled

This commit is contained in:
wukko
2025-05-01 00:25:03 +06:00
parent a1e20ccc3e
commit a22e4c3cf9
5 changed files with 27 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
<script lang="ts">
import settings from "$lib/state/settings";
import { device } from "$lib/device";
import { themeOptions } from "$lib/types/settings";
import { t, locales } from "$lib/i18n/translations";
@@ -52,3 +54,14 @@
disabled={$settings.appearance.autoLanguage}
/>
</SettingsCategory>
{#if device.is.mobile}
<SettingsCategory sectionId="tabs" title={$t("settings.tabs")}>
<SettingsToggle
settingContext="appearance"
settingId="hideRemuxTab"
title={$t("settings.tabs.hide_remux")}
description={$t("settings.tabs.hide_remux.description")}
/>
</SettingsCategory>
{/if}