Better behaviour of Prev/Next buttons when share has only one song:
- Allow Prev to restart the song - Disable Next
This commit is contained in:
@@ -80,14 +80,10 @@ const useStyle = makeStyles(
|
||||
},
|
||||
'& .music-player-panel .panel-content .progress-bar-content section.audio-main':
|
||||
{
|
||||
display: (props) => {
|
||||
return props.isRadio ? 'none' : 'inline-flex'
|
||||
},
|
||||
display: (props) => (props.isRadio ? 'none' : 'inline-flex'),
|
||||
},
|
||||
'& .react-jinke-music-player-mobile-progress': {
|
||||
display: (props) => {
|
||||
return props.isRadio ? 'none' : 'flex'
|
||||
},
|
||||
display: (props) => (props.isRadio ? 'none' : 'flex'),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user