diff --git a/components/Home/helpers/add-playlist-popover.tsx b/components/Home/helpers/add-playlist-popover.tsx
deleted file mode 100644
index 4a08f639..00000000
--- a/components/Home/helpers/add-playlist-popover.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import Icon from "../../../components/Global/helpers/icon";
-import { Label } from "../../../components/Global/helpers/text";
-import { Popover, Adapt, YStack, XStack, Input, getToken, Button } from "tamagui";
-
-export default function AddPlaylistPopover({
- open
-}: {
- open: boolean
-}) : React.JSX.Element {
- return (
-
-
- {/* {shouldAdapt && (
-
-
-
-
-
-
-
-
- )} */}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
-}
\ No newline at end of file
diff --git a/components/Home/helpers/playlists.tsx b/components/Home/helpers/playlists.tsx
index 25b935dc..c15f8f3f 100644
--- a/components/Home/helpers/playlists.tsx
+++ b/components/Home/helpers/playlists.tsx
@@ -3,15 +3,13 @@ import { useUserPlaylists } from "../../../api/queries/playlist";
import { ItemCard } from "../../Global/components/item-card";
import { H2 } from "../../../components/Global/helpers/text";
import { StackParamList } from "../../../components/types";
-import React, { useState } from "react";
+import React from "react";
import { FlatList } from "react-native";
import { getToken, View, XStack, YStack } from "tamagui";
-import AddPlaylistPopover from "./add-playlist-popover";
import Icon from "../../../components/Global/helpers/icon";
export default function Playlists({ navigation }: { navigation: NativeStackNavigationProp}) : React.JSX.Element {
- const [createPlaylist, setCreatePlaylist] = useState(false);
const { data: playlists } = useUserPlaylists();
return (
@@ -20,8 +18,7 @@ export default function Playlists({ navigation }: { navigation: NativeStackNavig
Your Playlists
- setCreatePlaylist(true)}/>
-
+ navigation.navigate('AddPlaylist')}/>
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/components/Home/stack.tsx b/components/Home/stack.tsx
index fed31b32..ab7be731 100644
--- a/components/Home/stack.tsx
+++ b/components/Home/stack.tsx
@@ -8,6 +8,7 @@ import { PlaylistScreen } from "../Playlist/screens";
import { ProvidedHome } from "./component";
import DetailsScreen from "../ItemDetail/screen";
import Player from "../Player/stack";
+import AddPlaylist from "./screens/add-playlist";
const HomeStack = createNativeStackNavigator();
@@ -63,6 +64,18 @@ export default function Home(): React.JSX.Element {
/>
+
+ {/* https://www.reddit.com/r/reactnative/comments/1dgktbn/comment/lxd23sj/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button */}
+
+
+
+
;
export type PlayerProps = NativeStackScreenProps;
export type ProvidedHomeProps = NativeStackScreenProps;
+export type AddPlaylistProps = NativeStackScreenProps;
export type RecentArtistsProps = NativeStackScreenProps;
export type RecentTracksProps = NativeStackScreenProps;
export type UserPlaylistsProps = NativeStackScreenProps;