Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

[PAY-1612] Change mobile hidden track header color #3758

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ const useStyles = makeStyles(({ palette, spacing, typography }) => ({
hiddenTrackLabel: {
marginTop: spacing(1),
marginLeft: spacing(2),
color: palette.accentOrange,
fontFamily: typography.fontByWeight.demiBold,
fontSize: 14,
letterSpacing: 2,
textTransform: 'uppercase'
textTransform: 'uppercase',
color: palette.neutralLight4
},

bottomContent: {
Expand Down Expand Up @@ -212,8 +212,7 @@ export const TrackScreenDetailsTile = ({
)
const styles = useStyles()
const navigation = useNavigation()
const { accentOrange, white, aiPrimary, aiSecondary, neutralLight4 } =
useThemeColors()
const { white, aiPrimary, aiSecondary, neutralLight4 } = useThemeColors()

const isOfflineEnabled = useIsOfflineModeEnabled()
const isReachable = useSelector(getIsReachable)
Expand Down Expand Up @@ -465,7 +464,7 @@ export const TrackScreenDetailsTile = ({
const renderHeader = () => {
return is_unlisted ? (
<View style={styles.hiddenDetailsTileWrapper}>
<IconHidden fill={accentOrange} />
<IconHidden fill={neutralLight4} />
<Text style={styles.hiddenTrackLabel}>{messages.hiddenTrack}</Text>
</View>
) : (
Expand Down