remove expo-linear-gradient

This commit is contained in:
danis
2023-09-12 22:05:31 +02:00
parent 64640eda55
commit 46ef0a7f1b
3 changed files with 0 additions and 11 deletions
-1
View File
@@ -34,7 +34,6 @@
"expo": "^47.0.8", "expo": "^47.0.8",
"expo-asset": "~8.7.0", "expo-asset": "~8.7.0",
"expo-dev-client": "~2.0.1", "expo-dev-client": "~2.0.1",
"expo-linear-gradient": "^12.3.0",
"expo-image-picker": "~14.0.2", "expo-image-picker": "~14.0.2",
"expo-linking": "~3.3.1", "expo-linking": "~3.3.1",
"expo-screen-orientation": "~5.0.1", "expo-screen-orientation": "~5.0.1",
-5
View File
@@ -7,7 +7,6 @@ import SongRow from '../components/SongRow';
import { Key } from 'react'; import { Key } from 'react';
import { RouteProps, useNavigation } from '../Navigation'; import { RouteProps, useNavigation } from '../Navigation';
import { ImageBackground } from 'react-native'; import { ImageBackground } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
type ArtistDetailsViewProps = { type ArtistDetailsViewProps = {
artistId: number; artistId: number;
@@ -35,10 +34,6 @@ const ArtistDetailsView = ({ artistId }: RouteProps<ArtistDetailsViewProps>) =>
style={{ width: '100%', height: isMobileView ? 200 : 300 }} style={{ width: '100%', height: isMobileView ? 200 : 300 }}
source={{ uri: API.getArtistIllustration(artistQuery.data.id) }} source={{ uri: API.getArtistIllustration(artistQuery.data.id) }}
> >
<LinearGradient
colors={['#00000000', fadeColor]}
style={{ height: '100%', width: '100%' }}
/>
</ImageBackground> </ImageBackground>
<Box> <Box>
<Heading mt={-20} ml={3} fontSize={50}> <Heading mt={-20} ml={3} fontSize={50}>
-5
View File
@@ -6,7 +6,6 @@ import API from '../API';
import CardGridCustom from '../components/CardGridCustom'; import CardGridCustom from '../components/CardGridCustom';
import SongCard from '../components/SongCard'; import SongCard from '../components/SongCard';
import { ImageBackground } from 'react-native'; import { ImageBackground } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
type GenreDetailsViewProps = { type GenreDetailsViewProps = {
genreId: number; genreId: number;
@@ -46,10 +45,6 @@ const GenreDetailsView = ({ genreId }: RouteProps<GenreDetailsViewProps>) => {
style={{ width: '100%', height: isMobileView ? 200 : 300 }} style={{ width: '100%', height: isMobileView ? 200 : 300 }}
source={{ uri: API.getGenreIllustration(genreQuery.data.id) }} source={{ uri: API.getGenreIllustration(genreQuery.data.id) }}
> >
<LinearGradient
colors={['#00000000', fadeColor]}
style={{ height: '100%', width: '100%' }}
/>
</ImageBackground> </ImageBackground>
<Heading ml={3} fontSize={50}> <Heading ml={3} fontSize={50}>
{genreQuery.data.name} {genreQuery.data.name}