From b417076ee630f676661a94d0e21c6d9db6a6187a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Tue, 28 Nov 2023 18:07:58 +0100 Subject: [PATCH] CI compliance --- front/Navigation.tsx | 1 - front/components/Play/PlayViewControlBar.tsx | 3 --- front/components/UI/ScaffoldAuth.tsx | 13 +------------ front/components/UI/ScaffoldMobileCC.tsx | 1 - front/views/HomeView.tsx | 1 - front/views/PlayView.tsx | 1 - front/views/ProfileView.tsx | 2 +- front/views/V2/DiscoveryView.tsx | 2 +- 8 files changed, 3 insertions(+), 21 deletions(-) diff --git a/front/Navigation.tsx b/front/Navigation.tsx index ebba152..8c4650e 100644 --- a/front/Navigation.tsx +++ b/front/Navigation.tsx @@ -10,7 +10,6 @@ import { DarkTheme, DefaultTheme, NavigationContainer } from '@react-navigation/ import { RootState, useSelector } from './state/Store'; import { useDispatch } from 'react-redux'; import { Translate, translate } from './i18n/i18n'; -import HomeView from './views/HomeView'; import SearchView from './views/SearchView'; import SettingsTab from './views/settings/SettingsView'; import { useQuery } from './Queries'; diff --git a/front/components/Play/PlayViewControlBar.tsx b/front/components/Play/PlayViewControlBar.tsx index dc16cf8..95e6a71 100644 --- a/front/components/Play/PlayViewControlBar.tsx +++ b/front/components/Play/PlayViewControlBar.tsx @@ -6,7 +6,6 @@ import { Ionicons } from '@expo/vector-icons'; import { MetronomeControls } from '../Metronome'; import StarProgress from '../StarProgress'; import Song from '../../models/Song'; -import useColorScheme from '../../hooks/colorScheme'; import { useTheme } from 'native-base'; type PlayViewControlBarProps = { @@ -33,10 +32,8 @@ const PlayViewControlBar = ({ const screenSize = useBreakpointValue({ base: 'small', md: 'big' }); const isPhone = screenSize === 'small'; const bpm = React.useRef(60); - const colorScheme = useColorScheme(); const { colors } = useTheme(); const textColor = colors.text; - const statColor = colors.lightText; return (