Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Infinite-Null committed Mar 20, 2024
1 parent 8e6c688 commit 1f0fab2
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions Route/Library/LikedPlaylistPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { GetLikedPlaylist } from "../../LocalStorage/StoreLikedPlaylists";
import { EachPlaylistCard } from "../../Component/Global/EachPlaylistCard";
import { View } from "react-native";
import { useTheme } from "@react-navigation/native";
import { PaddingConatiner } from "../../Layout/PaddingConatiner";


export const LikedPlaylistPage = () => {
Expand All @@ -30,16 +31,18 @@ export const LikedPlaylistPage = () => {
}}>
<LikedPagesTopHeader AnimatedRef={AnimatedRef} url={require("../../Images/LikedPlaylist.png")} />
<LikedDetails name={"Liked Playlists"} dontShowPlayButton={true}/>
<View style={{backgroundColor:theme.colors.background, flexDirection:'row', alignItems:"center", justifyContent:"space-between", flexWrap:"wrap"}}>
{LikedPlaylist.map((e,i)=>{
if (e){
return <EachPlaylistCard name={e.name} image={e.image} id={e.id} follower={e.follower} MainContainerStyle={{
width:"47%",
}}/>
}
})}
<View/>
</View>
<PaddingConatiner>
<View style={{backgroundColor:theme.colors.background, flexDirection:'row', alignItems:"center", justifyContent:"space-between", flexWrap:"wrap"}}>
{LikedPlaylist.map((e,i)=>{
if (e){
return <EachPlaylistCard name={e.name} image={e.image} id={e.id} follower={e.follower} MainContainerStyle={{
width:"48%",
}}/>
}
})}
<View/>
</View>
</PaddingConatiner>
</Animated.ScrollView>
);
};

0 comments on commit 1f0fab2

Please sign in to comment.