File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ const Album = ({ navigation, route: { params } }) => {
4747 imgSrc = { urlCover ( config , params ) }
4848 onPressTitle = { ( ) => {
4949 if ( album ?. artists ?. length > 1 ) setIsOptArtists ( true )
50- else if ( album ?. artist ) navigation . navigate ( 'Artist' , { id : album ?. artistId , name : album ?. artist } )
51- else if ( params . artistId ) navigation . navigate ( 'Artist' , { id : params . artistId , name : params . artist } )
50+ else if ( album ?. artistId && album ?. artist ) navigation . navigate ( 'Artist' , { id : album ?. artistId , name : album ?. artist } )
51+ else if ( params . artistId && params . artist ) navigation . navigate ( 'Artist' , { id : params . artistId , name : params . artist } )
5252 } }
5353 >
5454 < FavoritedButton id = { params . id } isFavorited = { isStarred } style = { [ presStyles . button , { paddingEnd : 0 } ] } size = { size . icon . medium } />
You can’t perform that action at this time.
0 commit comments