diff --git a/SettingsPage.tsx b/SettingsPage.tsx index 54a08a0..3fd8d64 100644 --- a/SettingsPage.tsx +++ b/SettingsPage.tsx @@ -261,7 +261,7 @@ export default function SettingsPage() { [filter, selects, renderSelect], ) - const confirmDelete = useCallback(async() => { + const confirmDelete = useCallback(async () => { setDeleting(false) await AppDataSource.dropDatabase() await AppDataSource.destroy() diff --git a/Switch.tsx b/Switch.tsx index 84cce44..4fcfda3 100644 --- a/Switch.tsx +++ b/Switch.tsx @@ -29,7 +29,10 @@ function Switch({ style={{ marginRight: MARGIN }} value={value} onValueChange={onChange} - trackColor={{ true: colors.primary + '80', false: colors.surfaceDisabled }} + trackColor={{ + true: colors.primary + '80', + false: colors.surfaceDisabled, + }} /> {title} diff --git a/mock-providers.tsx b/mock-providers.tsx index ce0c69e..d051ae8 100644 --- a/mock-providers.tsx +++ b/mock-providers.tsx @@ -1,8 +1,8 @@ import { NavigationContainer } from '@react-navigation/native' import React from 'react' import { - MD3DarkTheme, DefaultTheme, + MD3DarkTheme, Provider as PaperProvider, } from 'react-native-paper' import MaterialIcon from 'react-native-vector-icons/MaterialIcons'