Removing spotify connected status - we connect on demand instead
This commit is contained in:
@ -59,13 +59,6 @@ export function debugResponse(response){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function startServices(){
|
||||
return {
|
||||
type: 'CORE_START_SERVICES'
|
||||
}
|
||||
}
|
||||
|
||||
export function set(data){
|
||||
return {
|
||||
type: 'CORE_SET',
|
||||
|
||||
@ -91,13 +91,6 @@ const CoreMiddleware = (function(){
|
||||
console.error(message, description, data);
|
||||
break;
|
||||
|
||||
case 'CORE_START_SERVICES':
|
||||
store.dispatch(mopidyActions.connect());
|
||||
store.dispatch(pusherActions.connect());
|
||||
|
||||
next(action)
|
||||
break
|
||||
|
||||
case 'PLAY_PLAYLIST':
|
||||
ReactGA.event({ category: 'Playlist', action: 'Play', label: action.uri })
|
||||
next(action)
|
||||
|
||||
Reference in New Issue
Block a user