diff --git a/src/utils/preferences.ts b/src/utils/preferences.ts index 47f5c39..c061a1c 100644 --- a/src/utils/preferences.ts +++ b/src/utils/preferences.ts @@ -598,6 +598,10 @@ export class Preferences { max: 10, params: { hideSlider: true, + customTextValue: (value: any) => { + value = parseInt(value); + return value === 0 ? t('off') : value.toString(); + }, }, }, [PrefKey.VIDEO_RATIO]: {