diff --git a/components/Player/helpers/buttons.tsx b/components/Player/helpers/buttons.tsx index d08d6c15..3776df99 100644 --- a/components/Player/helpers/buttons.tsx +++ b/components/Player/helpers/buttons.tsx @@ -7,6 +7,8 @@ export function playPauseButton(playbackState: State | undefined, play: Function let button : React.JSX.Element; + console.debug(`Playback State: ${playbackState}`) + switch (playbackState) { case (State.Playing) : { button = pause()} /> diff --git a/components/Player/mini-player.tsx b/components/Player/mini-player.tsx index 00a06576..9ac76b17 100644 --- a/components/Player/mini-player.tsx +++ b/components/Player/mini-player.tsx @@ -27,7 +27,7 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers { ]) //#endregion RNTP Setup + //#region return return { showPlayer, setShowPlayer, @@ -142,6 +143,7 @@ const PlayerContextInitializer = () => { resetQueue, playbackState, } + //#endregion return } export const PlayerContext = createContext({