seekTimeDurationSelect renamed

This commit is contained in:
nklhrstv 2021-07-20 18:04:13 +03:00
parent 6e5c2e6a87
commit c7d13fbaf3
2 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ const Settings = () => {
subtitlesTextColorInput,
subtitlesBackgroundColorInput,
subtitlesOutlineColorInput,
seekTimeDuration,
seekTimeDurationSelect,
bingeWatchingCheckbox,
playInBackgroundCheckbox,
playInExternalPlayerCheckbox,
@ -310,7 +310,7 @@ const Settings = () => {
</div>
<Multiselect
className={classnames(styles['option-input-container'], styles['multiselect-container'])}
{...seekTimeDuration}
{...seekTimeDurationSelect}
/>
</div>
<div className={styles['option-container']}>

View file

@ -110,7 +110,7 @@ const useProfileSettingsInputs = (profile) => {
});
}
}), [profile.settings]);
const seekTimeDuration = useDeepEqualMemo(() => ({
const seekTimeDurationSelect = useDeepEqualMemo(() => ({
options: CONSTANTS.SEEK_TIME_DURATIONS.map((size) => ({
value: `${size}`,
label: `${size / 1000}s`
@ -214,7 +214,7 @@ const useProfileSettingsInputs = (profile) => {
subtitlesTextColorInput,
subtitlesBackgroundColorInput,
subtitlesOutlineColorInput,
seekTimeDuration,
seekTimeDurationSelect,
bingeWatchingCheckbox,
playInBackgroundCheckbox,
playInExternalPlayerCheckbox,