refactor: rename player to audioplayer
This commit is contained in:
parent
da36941252
commit
353c48d8d8
8 changed files with 5 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ import song from './song'
|
||||||
import album from './album'
|
import album from './album'
|
||||||
import artist from './artist'
|
import artist from './artist'
|
||||||
import { createMuiTheme } from '@material-ui/core/styles'
|
import { createMuiTheme } from '@material-ui/core/styles'
|
||||||
import { Player, playQueueReducer } from './player'
|
import { Player, playQueueReducer } from './audioplayer'
|
||||||
|
|
||||||
const theme = createMuiTheme(DarkTheme)
|
const theme = createMuiTheme(DarkTheme)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import PlayArrowIcon from '@material-ui/icons/PlayArrow'
|
||||||
import ShuffleIcon from '@material-ui/icons/Shuffle'
|
import ShuffleIcon from '@material-ui/icons/Shuffle'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { useDispatch } from 'react-redux'
|
import { useDispatch } from 'react-redux'
|
||||||
import { playAlbum } from '../player'
|
import { playAlbum } from '../audioplayer'
|
||||||
|
|
||||||
export const AlbumActions = ({
|
export const AlbumActions = ({
|
||||||
className,
|
className,
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import { useStyles } from './styles'
|
||||||
import { AlbumActions } from './AlbumActions'
|
import { AlbumActions } from './AlbumActions'
|
||||||
import { AlbumSongBulkActions } from './AlbumSongBulkActions'
|
import { AlbumSongBulkActions } from './AlbumSongBulkActions'
|
||||||
import { useMediaQuery } from '@material-ui/core'
|
import { useMediaQuery } from '@material-ui/core'
|
||||||
import { setTrack } from '../player'
|
import { setTrack } from '../audioplayer'
|
||||||
import { useDispatch } from 'react-redux'
|
import { useDispatch } from 'react-redux'
|
||||||
|
|
||||||
const AlbumShow = (props) => {
|
const AlbumShow = (props) => {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import {
|
||||||
useUnselectAll
|
useUnselectAll
|
||||||
} from 'react-admin'
|
} from 'react-admin'
|
||||||
import { useDispatch } from 'react-redux'
|
import { useDispatch } from 'react-redux'
|
||||||
import { addTrack } from '../player'
|
import { addTrack } from '../audioplayer'
|
||||||
import AddToQueueIcon from '@material-ui/icons/AddToQueue'
|
import AddToQueueIcon from '@material-ui/icons/AddToQueue'
|
||||||
|
|
||||||
const AddToQueueButton = ({ selectedIds }) => {
|
const AddToQueueButton = ({ selectedIds }) => {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ import {
|
||||||
Title
|
Title
|
||||||
} from '../common'
|
} from '../common'
|
||||||
import { useDispatch } from 'react-redux'
|
import { useDispatch } from 'react-redux'
|
||||||
import { addTrack, setTrack } from '../player'
|
import { addTrack, setTrack } from '../audioplayer'
|
||||||
import AddIcon from '@material-ui/icons/Add'
|
import AddIcon from '@material-ui/icons/Add'
|
||||||
import { SongBulkActions } from './SongBulkActions'
|
import { SongBulkActions } from './SongBulkActions'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue