mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 09:09:01 +00:00
Remove unused action type
This commit is contained in:
parent
f7305455eb
commit
27641ebff5
3 changed files with 0 additions and 5 deletions
|
|
@ -7,7 +7,6 @@ import {
|
|||
CLOSE_WINAMP,
|
||||
SET_BALANCE,
|
||||
SET_BAND_VALUE,
|
||||
SET_MEDIA_STATUS,
|
||||
SET_SKIN_DATA,
|
||||
SET_VOLUME,
|
||||
START_LOADING,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ export const SET_BAND_VALUE = 'SET_BAND_VALUE';
|
|||
export const SET_FOCUS = 'SET_FOCUS';
|
||||
export const SET_FOCUSED_WINDOW = 'SET_FOCUSED_WINDOW';
|
||||
export const SET_MEDIA = 'SET_MEDIA';
|
||||
export const SET_MEDIA_STATUS = 'SET_MEDIA_STATUS';
|
||||
export const SET_SCRUB_POSITION = 'SET_SCRUB_POSITION';
|
||||
export const SET_SKIN_DATA = 'SET_SKIN_DATA';
|
||||
export const SET_VOLUME = 'SET_VOLUME';
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import {
|
|||
SET_FOCUS,
|
||||
SET_FOCUSED_WINDOW,
|
||||
SET_MEDIA,
|
||||
SET_MEDIA_STATUS,
|
||||
SET_SCRUB_POSITION,
|
||||
SET_SKIN_DATA,
|
||||
SET_VOLUME,
|
||||
|
|
@ -212,8 +211,6 @@ const media = (state, action) => {
|
|||
return {...state, repeat: !state.repeat};
|
||||
case TOGGLE_SHUFFLE:
|
||||
return {...state, shuffle: !state.shuffle};
|
||||
case SET_MEDIA_STATUS:
|
||||
return {...state, status: action.status};
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue