Modals, including sharing auth

This commit is contained in:
James Barnsley
2018-07-13 16:48:41 +12:00
parent 2f6e8c2a74
commit 5f8956b376
26 changed files with 720 additions and 353 deletions

View File

@ -30,7 +30,9 @@ class EditRadio extends React.Component{
var seeds = [...this.props.radio.seed_tracks, ...this.props.radio.seed_artists, ...this.props.radio.seed_genres]
this.setState({seeds: seeds, enabled: this.props.radio.enabled})
this.props.spotifyActions.resolveRadioSeeds(this.props.radio)
this.props.spotifyActions.resolveRadioSeeds(this.props.radio);
this.props.uiActions.setWindowTitle("Edit radio");
}
handleStart(e){
@ -200,7 +202,7 @@ class EditRadio extends React.Component{
render(){
return (
<Modal className="edit-radio-modal">
<Modal className="modal--edit-radio">
<h1>Radio</h1>
<h2 className="grey-text">Add and remove seeds to shape the sound of your radio. Radio uses Spotify's recommendations engine to suggest tracks similar to your seeds.</h2>