From 46ef0a7f1bf93fe77fea91e6fc5bc21c3f9ae00f Mon Sep 17 00:00:00 2001 From: danis Date: Tue, 12 Sep 2023 22:05:31 +0200 Subject: [PATCH] remove expo-linear-gradient --- front/package.json | 1 - front/views/ArtistDetailsView.tsx | 5 ----- front/views/GenreDetailsView.tsx | 5 ----- 3 files changed, 11 deletions(-) diff --git a/front/package.json b/front/package.json index cc75dac..f097628 100644 --- a/front/package.json +++ b/front/package.json @@ -34,7 +34,6 @@ "expo": "^47.0.8", "expo-asset": "~8.7.0", "expo-dev-client": "~2.0.1", - "expo-linear-gradient": "^12.3.0", "expo-image-picker": "~14.0.2", "expo-linking": "~3.3.1", "expo-screen-orientation": "~5.0.1", diff --git a/front/views/ArtistDetailsView.tsx b/front/views/ArtistDetailsView.tsx index e7a7b03..8a88062 100644 --- a/front/views/ArtistDetailsView.tsx +++ b/front/views/ArtistDetailsView.tsx @@ -7,7 +7,6 @@ import SongRow from '../components/SongRow'; import { Key } from 'react'; import { RouteProps, useNavigation } from '../Navigation'; import { ImageBackground } from 'react-native'; -import { LinearGradient } from 'expo-linear-gradient'; type ArtistDetailsViewProps = { artistId: number; @@ -35,10 +34,6 @@ const ArtistDetailsView = ({ artistId }: RouteProps) => style={{ width: '100%', height: isMobileView ? 200 : 300 }} source={{ uri: API.getArtistIllustration(artistQuery.data.id) }} > - diff --git a/front/views/GenreDetailsView.tsx b/front/views/GenreDetailsView.tsx index 8161f8c..c9f4486 100644 --- a/front/views/GenreDetailsView.tsx +++ b/front/views/GenreDetailsView.tsx @@ -6,7 +6,6 @@ import API from '../API'; import CardGridCustom from '../components/CardGridCustom'; import SongCard from '../components/SongCard'; import { ImageBackground } from 'react-native'; -import { LinearGradient } from 'expo-linear-gradient'; type GenreDetailsViewProps = { genreId: number; @@ -46,10 +45,6 @@ const GenreDetailsView = ({ genreId }: RouteProps) => { style={{ width: '100%', height: isMobileView ? 200 : 300 }} source={{ uri: API.getGenreIllustration(genreQuery.data.id) }} > - {genreQuery.data.name}