diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 6d4248b..cb39dc7 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -5,11 +5,23 @@ import React from 'react'; import { Button, Text, View } from 'react-native'; import { v4 as uuidv4 } from 'uuid'; import { appSettingsAtom } from '../state/settings'; +import { getAllKeys, multiRemove } from '../storage/asyncstorage'; +import text from '../styles/text'; const TestControls = () => { const navigation = useNavigation(); + + const removeAllKeys = async () => { + const allKeys = await getAllKeys(); + await multiRemove(allKeys); + } + return ( +