From 4b6d2f94a2164ffb6e2fa32e9e2afc2f5674e9db Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Tue, 31 Dec 2024 15:48:01 -0600 Subject: [PATCH] miniplayer flex fix --- components/Global/icon.tsx | 1 + components/Player/mini-player.tsx | 38 ++++++++++++++++--------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/components/Global/icon.tsx b/components/Global/icon.tsx index 27d69d01..079b9a83 100644 --- a/components/Global/icon.tsx +++ b/components/Global/icon.tsx @@ -20,6 +20,7 @@ export default function Icon({ name, onPress, large }: { name: string, onPress?: return ( { if (onPress) diff --git a/components/Player/mini-player.tsx b/components/Player/mini-player.tsx index 074ee8d7..5b49590d 100644 --- a/components/Player/mini-player.tsx +++ b/components/Player/mini-player.tsx @@ -32,32 +32,34 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers navigation.navigate("Player")} > + + - + - + + {nowPlaying?.title ?? "Nothing Playing"} {nowPlaying?.artist ?? ""} - + { playbackState.state === State.Playing && ( pause()} /> )}