From 9833752babeec4412390f78a0bd6aa65ac7f5223 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 20 Jul 2023 14:55:19 +1200 Subject: [PATCH] Deno fmt --- SettingsPage.tsx | 2 +- Switch.tsx | 5 ++++- mock-providers.tsx | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) 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'