Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make related anime settings somewhat clear #1135

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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