Skip to content

Commit

Permalink
Make related anime settings somewhat clear (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Nov 5, 2024
1 parent d3b462e commit b01e9e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions src/pages/firstrun/MetadataSourcesTabs/AniDBTab.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/naming-convention */
import React from 'react';
import cx from 'classnames';

import Checkbox from '@/components/Input/Checkbox';
import InputSmall from '@/components/Input/InputSmall';
Expand Down Expand Up @@ -80,18 +79,13 @@ function AniDBTab({ setStatus }: Props) {
justify
/>
<Checkbox
label="Related Anime"
label="Always Download Related Anime"
id="DownloadRelatedAnime"
isChecked={DownloadRelatedAnime}
onChange={handleInputChange}
justify
/>
<div
className={cx(
'flex justify-between items-center transition-opacity',
!DownloadRelatedAnime && 'pointer-events-none opacity-65',
)}
>
<div className="flex items-center justify-between transition-opacity">
Related Depth
<InputSmall
id="max-relation-depth"
Expand Down
10 changes: 2 additions & 8 deletions src/pages/settings/tabs/AniDBSettings.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/naming-convention */
import React from 'react';
import cx from 'classnames';

import Button from '@/components/Input/Button';
import Checkbox from '@/components/Input/Checkbox';
Expand Down Expand Up @@ -149,17 +148,12 @@ function AniDBSettings() {
/>
<Checkbox
justify
label="Related Anime"
label="Always Download Related Anime"
id="related-anime"
isChecked={DownloadRelatedAnime}
onChange={event => updateSetting('AniDb', 'DownloadRelatedAnime', event.target.checked)}
/>
<div
className={cx(
'flex justify-between items-center transition-opacity',
!DownloadRelatedAnime && 'pointer-events-none opacity-65',
)}
>
<div className="flex items-center justify-between transition-opacity">
Related Depth
<InputSmall
id="max-relation-depth"
Expand Down

0 comments on commit b01e9e8

Please sign in to comment.