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

@@ -12,6 +12,7 @@ const defaultSettings: CobaltSettings = {
theme: "auto",
language: defaultLocale,
autoLanguage: true,
hideRemuxTab: false,
},
accessibility: {
reduceMotion: false,

View File

@@ -2,7 +2,9 @@ import { type CobaltSettingsV4 } from "$lib/types/settings/v4";
export type CobaltSettingsV5 = Omit<CobaltSettingsV4, 'schemaVersion' | 'advanced' | 'save' | 'privacy' | 'appearance'> & {
schemaVersion: 5,
appearance: Omit<CobaltSettingsV4['appearance'], 'reduceMotion' | 'reduceTransparency'>,
appearance: Omit<CobaltSettingsV4['appearance'], 'reduceMotion' | 'reduceTransparency'> & {
hideRemuxTab: boolean,
},
accessibility: {
reduceMotion: boolean;
reduceTransparency: boolean;