mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
change clear icon
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { NoImageIcon } from 'icons'
|
import { NoImageIcon } from 'icons'
|
||||||
import { IconButton, InputAdornment, TextField, useTheme } from '@material-ui/core'
|
import { IconButton, InputAdornment, TextField, useTheme } from '@material-ui/core'
|
||||||
import { CheckBox as CheckBoxIcon } from '@material-ui/icons'
|
import { HighlightOff as HighlightOffIcon } from '@material-ui/icons'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ClearPosterButton,
|
ClearPosterButton,
|
||||||
@@ -84,7 +84,7 @@ export default function RightSideComponent({
|
|||||||
endAdornment: (
|
endAdornment: (
|
||||||
<InputAdornment position='end'>
|
<InputAdornment position='end'>
|
||||||
<IconButton
|
<IconButton
|
||||||
style={{ padding: '0 0 0 7px' }}
|
style={{ padding: '1px' }}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setTitle('')
|
setTitle('')
|
||||||
setIsCustomTitleEnabled(!isCustomTitleEnabled)
|
setIsCustomTitleEnabled(!isCustomTitleEnabled)
|
||||||
@@ -92,7 +92,7 @@ export default function RightSideComponent({
|
|||||||
setIsUserInteractedWithPoster(false)
|
setIsUserInteractedWithPoster(false)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CheckBoxIcon style={{ color: isCustomTitleEnabled ? primary : 'gray' }} />
|
<HighlightOffIcon style={{ color: isCustomTitleEnabled ? primary : 'gray' }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user