import { useNavigation } from '@react-navigation/core' import { useAtom } from 'jotai' import md5 from 'md5' import React from 'react' import { Button, StyleSheet, Text, View } from 'react-native' import { v4 as uuidv4 } from 'uuid' import { appSettingsAtom } from '@app/state/settings' import { getAllKeys, multiRemove } from '@app/storage/asyncstorage' const TestControls = () => { const navigation = useNavigation() const removeAllKeys = async () => { const allKeys = await getAllKeys() await multiRemove(allKeys) } return (