Skip to content

Commit

Permalink
fix: correct play/pause not swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyPorthouse committed Nov 14, 2024
1 parent 74f0294 commit 2fef727
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Components/MediaControls/PauseButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function PauseButton() {
title={t("pauseTrack")}
onClick={pause}
>
<Pause fill="#000" className={`w-full`} />
<Pause className={`w-full fill-black`} />
</button>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Components/MediaControls/SkipButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function SkipButton() {
className={`inline-block w-12`}
title={t("nextTrack")}
>
<SkipForward fill="#000" className={`w-full`} />
<SkipForward className={`w-full fill-black`} />
</button>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Components/MediaControls/StopButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function StopButton() {
title={t("stopTrack")}
onClick={stop}
>
<Square fill="#000" className={`w-full`} />
<Square className={`w-full fill-black`} />
</button>
);
}
Expand Down
3 changes: 1 addition & 2 deletions src/Components/MediaPlayer/MediaControls.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useAudio } from "@hooks/useAudio.js";
import { memo } from "react";

import FullscreenButton from "../MediaControls/FullscreenButton.js";
import PauseButton from "../MediaControls/PauseButton.js";
Expand Down Expand Up @@ -28,4 +27,4 @@ function MediaControls() {
);
}

export default memo(MediaControls);
export default MediaControls;

0 comments on commit 2fef727

Please sign in to comment.