mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-19 19:38:59 -05:00
we're going to put these on the home screen until the discover screen is finished
This commit is contained in:
@@ -98,8 +98,14 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
onPress={() => {
|
||||
if (nowPlaying!.item.ArtistItems) {
|
||||
navigation.goBack(); // Dismiss player modal
|
||||
navigation.navigate('Artist', {
|
||||
artist: nowPlaying!.item.ArtistItems![0],
|
||||
navigation.navigate('Tabs', {
|
||||
screen: 'Home',
|
||||
params: {
|
||||
screen: 'Artist',
|
||||
params: {
|
||||
artist: nowPlaying!.item.ArtistItems![0],
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user