Fix context menu icon color on Light theme

This commit is contained in:
Deluan
2020-05-01 12:08:32 -04:00
parent 6d20ca27f6
commit bf8f9d2be8
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -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()