diff --git a/app/(tabs)/settings.tsx b/app/(tabs)/settings.tsx index 56acf04..aa89cad 100644 --- a/app/(tabs)/settings.tsx +++ b/app/(tabs)/settings.tsx @@ -105,16 +105,17 @@ export default function SettingsScreen() { - + + - + - + {THEME_OPTIONS.map(({ mode, label, Icon }) => { const selected = themeMode === mode; return ( diff --git a/app/diagnostics.tsx b/app/diagnostics.tsx index d908f6b..fd70841 100644 --- a/app/diagnostics.tsx +++ b/app/diagnostics.tsx @@ -92,4 +92,4 @@ const styles = StyleSheet.create({ value: { fontSize: 14, fontWeight: '500', color: '#212529' }, button: { backgroundColor: '#0066cc', paddingVertical: 12, borderRadius: 8, alignItems: 'center', marginBottom: 32 }, buttonText: { color: '#ffffff', fontWeight: '600', fontSize: 16 }, -}); \ No newline at end of file +}); diff --git a/src/components/WalletResetConfirmModal.tsx b/src/components/WalletResetConfirmModal.tsx index 952d822..c5ede52 100644 --- a/src/components/WalletResetConfirmModal.tsx +++ b/src/components/WalletResetConfirmModal.tsx @@ -33,6 +33,14 @@ const DATA_TO_BE_REMOVED = [ { icon: Clock, label: 'Transaction history', detail: 'Cached payment activity' }, ] as const; +/** Items that will be permanently deleted, displayed as a bullet-point list. */ +const DATA_TO_BE_REMOVED = [ + { icon: KeyRound, label: 'Wallet secret key', detail: 'Your Stellar secret key stored on this device' }, + { icon: Settings, label: 'App preferences', detail: 'Theme selection and app lock settings' }, + { icon: Users, label: 'Saved contacts', detail: 'Your address book entries' }, + { icon: Clock, label: 'Transaction history', detail: 'Cached payment activity' }, +] as const; + export const WalletResetConfirmModal: React.FC = ({ visible, isLoading = false,