mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-26 04:58:43 -06:00
navigation changes and miniplayer tweaks
This commit is contained in:
@@ -64,7 +64,6 @@ export default function ItemDetail({
|
||||
color={Colors.Primary}
|
||||
onPress={() => {
|
||||
if (item.ArtistItems) {
|
||||
navigation.goBack() // Dismiss menu
|
||||
navigation.navigate("Artist", {
|
||||
artist: item.ArtistItems[0]
|
||||
});
|
||||
|
||||
@@ -55,7 +55,12 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers<Para
|
||||
</YStack>
|
||||
|
||||
|
||||
<YStack alignContent="flex-start" flex={4} maxWidth={"$20"}>
|
||||
<YStack
|
||||
alignContent="flex-start"
|
||||
marginLeft={"$1"}
|
||||
flex={4}
|
||||
maxWidth={"$15"}
|
||||
>
|
||||
<TextTicker
|
||||
duration={5000}
|
||||
loop
|
||||
|
||||
@@ -105,8 +105,7 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
color={Colors.Primary}
|
||||
onPress={() => {
|
||||
if (nowPlaying!.item.ArtistItems) {
|
||||
navigation.goBack(); // Dismiss player modal
|
||||
navigation.push("Artist", {
|
||||
navigation.navigate("Artist", {
|
||||
artist: nowPlaying!.item.ArtistItems![0],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user