Responsive adjustments; Removing library dropzone; Sidebar hide on navigation
This commit is contained in:
@ -85,6 +85,7 @@ function refreshToken( dispatch, getState ){
|
||||
response.source = 'spotify';
|
||||
dispatch({
|
||||
type: 'SPOTIFY_TOKEN_REFRESHED',
|
||||
provider: 'spotify-http-api',
|
||||
data: response
|
||||
});
|
||||
resolve(response);
|
||||
@ -109,6 +110,7 @@ function refreshToken( dispatch, getState ){
|
||||
response.source = 'mopidy';
|
||||
dispatch({
|
||||
type: 'SPOTIFY_TOKEN_REFRESHED',
|
||||
provider: 'mopidy-spotify',
|
||||
data: response
|
||||
});
|
||||
resolve(response);
|
||||
|
||||
@ -48,7 +48,8 @@ export default function reducer(spotify = {}, action){
|
||||
refreshing_token: false,
|
||||
authorization: action.data,
|
||||
access_token: action.data.access_token,
|
||||
token_expiry: action.data.token_expiry
|
||||
token_expiry: action.data.token_expiry,
|
||||
provider: action.provider
|
||||
});
|
||||
|
||||
case 'SPOTIFY_DISCONNECTED':
|
||||
|
||||
Reference in New Issue
Block a user