From 27641ebff5b3935ee83809cf0b298dabfc261ed8 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 3 Jan 2017 20:48:53 -0800 Subject: [PATCH] Remove unused action type --- js/actionCreators.js | 1 - js/actionTypes.js | 1 - js/reducers.js | 3 --- 3 files changed, 5 deletions(-) diff --git a/js/actionCreators.js b/js/actionCreators.js index 05b10cd0..d8920230 100644 --- a/js/actionCreators.js +++ b/js/actionCreators.js @@ -7,7 +7,6 @@ import { CLOSE_WINAMP, SET_BALANCE, SET_BAND_VALUE, - SET_MEDIA_STATUS, SET_SKIN_DATA, SET_VOLUME, START_LOADING, diff --git a/js/actionTypes.js b/js/actionTypes.js index c0510f49..bbfd952f 100644 --- a/js/actionTypes.js +++ b/js/actionTypes.js @@ -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'; diff --git a/js/reducers.js b/js/reducers.js index 31debacd..d0bb7269 100644 --- a/js/reducers.js +++ b/js/reducers.js @@ -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; }