Skip to content

Commit

Permalink
avoid text wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
kvnp committed Aug 5, 2021
1 parent ce13aa4 commit 74fb21d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions react/components/player/MiniPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,23 @@ const MiniPlayer = ({style, containerStyle}) => {
<>
<ScrollingText>
<Text
style={[styles.titleText, {color: colors.text, flexWrap: "nowrap"}]}
numberOfLines={1}
style={[
styles.titleText,
{color: colors.text}
]}
>
{title}
</Text>
</ScrollingText>

<ScrollingText>
<Text
style={[styles.subtitleText, {color: colors.text, flexWrap: "nowrap"}]}
numberOfLines={1}
style={[
styles.subtitleText,
{color: colors.text,}
]}
>
{artist}
</Text>
Expand Down

0 comments on commit 74fb21d

Please sign in to comment.