Skip to content

Commit

Permalink
[#27] Remove year and album title (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
tekrei authored Nov 2, 2021
1 parent 4a8cacc commit 06aec0e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import * as Progress from "react-native-progress";
import { styles, GRAY, PURPLE, deviceWidth } from "../helpers/styles";
import { IconPress } from "./buttons";
import { getSongs, getSongTitle } from "../api/data";
import { getSongs } from "../api/data";
import { SongItem, SongDetail } from "./song";

const Player = ({ openUrl }) => {
Expand Down Expand Up @@ -217,9 +217,7 @@ const Player = ({ openUrl }) => {
</ScrollView>
<View style={styles.bottomView}>
{song && (
<Text style={{ fontSize: 18, color: PURPLE }}>
{getSongTitle(song)}
</Text>
<Text style={{ fontSize: 18, color: PURPLE }}>{song.name}</Text>
)}
{status.positionMillis > 0 && (
<Progress.Bar
Expand Down

0 comments on commit 06aec0e

Please sign in to comment.