Reducing usage of browser notifications in favor of in-app notifications

This commit is contained in:
James Barnsley
2018-02-23 09:35:38 +13:00
parent 2566c60a05
commit ac6e0eea0c
23 changed files with 1079 additions and 1001 deletions

View File

@ -1456,7 +1456,7 @@ export function createPlaylist(name, description, is_public, is_collaborative){
uris: [response.uri]
})
dispatch(uiActions.createNotification('Created playlist'))
dispatch(uiActions.createNotification({content: 'Created playlist'}));
},
error => {
dispatch(coreActions.handleException(
@ -1491,7 +1491,7 @@ export function savePlaylist(uri, name, description, is_public, is_collaborative
description: description
}
})
dispatch(uiActions.createNotification('Saved'))
dispatch(uiActions.createNotification({content: 'Saved'}));
},
error => {
dispatch(coreActions.handleException(