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