mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-06 02:13:29 +03:00
Fix context menu icon color on Light theme
This commit is contained in:
parent
6d20ca27f6
commit
bf8f9d2be8
@ -10,12 +10,12 @@ import { playAlbum, shuffleAlbum } from '../audioplayer'
|
|||||||
|
|
||||||
const useStyles = makeStyles({
|
const useStyles = makeStyles({
|
||||||
icon: {
|
icon: {
|
||||||
color: 'white',
|
color: (props) => props.color,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const AlbumContextMenu = ({ record }) => {
|
const AlbumContextMenu = ({ record, color }) => {
|
||||||
const classes = useStyles()
|
const classes = useStyles({ color })
|
||||||
const dataProvider = useDataProvider()
|
const dataProvider = useDataProvider()
|
||||||
const dispatch = useDispatch()
|
const dispatch = useDispatch()
|
||||||
const translate = useTranslate()
|
const translate = useTranslate()
|
||||||
|
@ -95,7 +95,9 @@ const LoadedAlbumGrid = ({ ids, data, basePath, width }) => {
|
|||||||
</ArtistLinkField>
|
</ArtistLinkField>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
actionIcon={<AlbumContextMenu record={data[id]} />}
|
actionIcon={
|
||||||
|
<AlbumContextMenu record={data[id]} color={'white'} />
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</GridListTile>
|
</GridListTile>
|
||||||
))}
|
))}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user