Fix Dark Mode colors in new features

This commit is contained in:
Lei Nelissen
2022-01-02 23:02:54 +01:00
parent 611cbc8c69
commit f78db52e0a
3 changed files with 12 additions and 6 deletions

View File

@@ -55,7 +55,6 @@ const TrackContainer = styled.View<{isPlaying: boolean}>`
flex-direction: row;
${props => props.isPlaying && css`
background-color: ${THEME_COLOR}16;
margin: 0 -20px;
padding: 15px 24px;
`}
@@ -140,7 +139,10 @@ const TrackListView: React.FC<TrackListViewProps> = ({
onPress={selectTrack}
onLongPress={longPressTrack}
>
<TrackContainer isPlaying={currentTrack?.backendId === trackId || false} style={defaultStyles.border}>
<TrackContainer
isPlaying={currentTrack?.backendId === trackId || false}
style={[defaultStyles.border, currentTrack?.backendId === trackId || false ? defaultStyles.activeBackground : null ]}
>
<Text
style={[
defaultStyles.text,