Deno fmt
This commit is contained in:
parent
556347e632
commit
9833752bab
|
@ -261,7 +261,7 @@ export default function SettingsPage() {
|
||||||
[filter, selects, renderSelect],
|
[filter, selects, renderSelect],
|
||||||
)
|
)
|
||||||
|
|
||||||
const confirmDelete = useCallback(async() => {
|
const confirmDelete = useCallback(async () => {
|
||||||
setDeleting(false)
|
setDeleting(false)
|
||||||
await AppDataSource.dropDatabase()
|
await AppDataSource.dropDatabase()
|
||||||
await AppDataSource.destroy()
|
await AppDataSource.destroy()
|
||||||
|
|
|
@ -29,7 +29,10 @@ function Switch({
|
||||||
style={{ marginRight: MARGIN }}
|
style={{ marginRight: MARGIN }}
|
||||||
value={value}
|
value={value}
|
||||||
onValueChange={onChange}
|
onValueChange={onChange}
|
||||||
trackColor={{ true: colors.primary + '80', false: colors.surfaceDisabled }}
|
trackColor={{
|
||||||
|
true: colors.primary + '80',
|
||||||
|
false: colors.surfaceDisabled,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<Text>{title}</Text>
|
<Text>{title}</Text>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { NavigationContainer } from '@react-navigation/native'
|
import { NavigationContainer } from '@react-navigation/native'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {
|
import {
|
||||||
MD3DarkTheme,
|
|
||||||
DefaultTheme,
|
DefaultTheme,
|
||||||
|
MD3DarkTheme,
|
||||||
Provider as PaperProvider,
|
Provider as PaperProvider,
|
||||||
} from 'react-native-paper'
|
} from 'react-native-paper'
|
||||||
import MaterialIcon from 'react-native-vector-icons/MaterialIcons'
|
import MaterialIcon from 'react-native-vector-icons/MaterialIcons'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user