CI compliance

This commit is contained in:
Clément Le Bihan
2023-11-28 18:07:58 +01:00
parent 95da2cc500
commit b417076ee6
8 changed files with 3 additions and 21 deletions

View File

@@ -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';

View File

@@ -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<number>(60);
const colorScheme = useColorScheme();
const { colors } = useTheme();
const textColor = colors.text;
const statColor = colors.lightText;
return (
<Row
style={{

View File

@@ -1,16 +1,5 @@
import { LinearGradient } from 'expo-linear-gradient';
import {
Flex,
Stack,
View,
Text,
Wrap,
Image,
Row,
Column,
ScrollView,
useToast,
} from 'native-base';
import { Stack, View, Text, Wrap, Image, Row, Column, ScrollView, useToast } from 'native-base';
import { FunctionComponent } from 'react';
import { Linking, useWindowDimensions } from 'react-native';
import ButtonBase from './ButtonBase';

View File

@@ -4,7 +4,6 @@ import { Flex, useMediaQuery, useTheme } from 'native-base';
import ButtonBase from './ButtonBase';
import { Icon } from 'iconsax-react-native';
import { useNavigation } from '../../Navigation';
import Spacer from './Spacer';
import User from '../../models/User';
import { translate } from '../../i18n/i18n';

View File

@@ -6,7 +6,6 @@ import { Box, Flex, Stack, Heading, VStack, HStack } from 'native-base';
import { RouteProps, useNavigation } from '../Navigation';
import SongCardGrid from '../components/SongCardGrid';
import CompetenciesTable from '../components/CompetenciesTable';
import ProgressBar from '../components/ProgressBar';
import Translate from '../components/Translate';
import TextButton from '../components/TextButton';
import Song from '../models/Song';

View File

@@ -33,7 +33,6 @@ import PopupCC from '../components/UI/PopupCC';
import ButtonBase from '../components/UI/ButtonBase';
import { Clock, Cup } from 'iconsax-react-native';
import PlayViewControlBar from '../components/Play/PlayViewControlBar';
import { PlageHandler } from '../models/Plage';
type PlayViewProps = {
songId: number;

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { useWindowDimensions } from 'react-native';
import { Column, Flex, Progress, Row, Text, View, Wrap, useTheme } from 'native-base';
import { Column, Flex, Progress, Row, Text, View, useTheme } from 'native-base';
import { RouteProps, useNavigation } from '../Navigation';
import UserAvatar from '../components/UserAvatar';
import { LoadingView } from '../components/Loading';

View File

@@ -1,7 +1,7 @@
import { ScrollView, View } from 'react-native';
import { Text, useBreakpointValue } from 'native-base';
import React from 'react';
import { useQuery, useQueries } from '../../Queries';
import { useQuery } from '../../Queries';
import SongCardInfo from '../../components/V2/SongCardInfo';
import API from '../../API';
import { RouteProps, useNavigation } from '../../Navigation';