mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-28 14:39:33 -05:00
fix flatlists
This commit is contained in:
@@ -135,9 +135,6 @@ export function AlbumScreen({
|
||||
</YStack>
|
||||
|
||||
)}
|
||||
// style={{
|
||||
// overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
// }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -39,9 +39,6 @@ export default function Albums({ navigation }: AlbumsProps) : React.JSX.Element
|
||||
/>
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -97,9 +97,6 @@ export default function Artist({
|
||||
/>
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
</ScrollView>
|
||||
)
|
||||
|
||||
@@ -55,9 +55,6 @@ export default function Artists({
|
||||
/>
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -52,9 +52,6 @@ export default function HorizontalCardList({
|
||||
/>
|
||||
) : undefined}
|
||||
}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -36,9 +36,6 @@ export default function Playlists({ navigation }: { navigation: NativeStackNavig
|
||||
}} />
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
||||
@@ -20,9 +20,6 @@ export default function RecentArtistsScreen({
|
||||
renderItem={({ index, item: artist }) => {
|
||||
return <Item item={artist} queueName="" navigation={navigation} />
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
||||
|
||||
@@ -20,9 +20,6 @@ export default function RecentArtistsScreen({
|
||||
renderItem={({ index, item: artist }) => {
|
||||
return <Item item={artist} queueName="" navigation={navigation} />
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
||||
|
||||
@@ -20,9 +20,6 @@ export default function RecentArtistsScreen({
|
||||
renderItem={({ index, item: track }) => {
|
||||
return <Item item={track} queueName="Recently Played" navigation={navigation} />
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
||||
|
||||
@@ -35,9 +35,6 @@ export default function Library({
|
||||
/>
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
</SafeAreaView>
|
||||
)
|
||||
|
||||
@@ -153,6 +153,7 @@ export default function Playlist({
|
||||
|
||||
return (
|
||||
<DraggableFlatList
|
||||
removeClippedSubviews={false}
|
||||
contentInsetAdjustmentBehavior="automatic"
|
||||
data={playlistTracks}
|
||||
dragHitSlop={{ left: -50 }} // https://github.com/computerjazz/react-native-draggable-flatlist/issues/336
|
||||
|
||||
@@ -51,9 +51,6 @@ export default function FavoritePlaylists({ navigation }: FavoritePlaylistsProps
|
||||
/>
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -64,9 +64,6 @@ export default function Search({
|
||||
<Item item={item} queueName={searchString ?? "Search"} navigation={navigation} />
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -41,9 +41,6 @@ export default function TracksScreen({
|
||||
|
||||
)
|
||||
}}
|
||||
style={{
|
||||
overflow: 'hidden' // Prevent unnecessary memory usage
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user