change to data import dialog. first have replace option, second delete. like this synchronous to text above.

This commit is contained in:
wunderfisch
2023-11-10 12:30:17 +01:00
parent 2eca9ba097
commit 32cec10a79
@@ -65,14 +65,14 @@ export default function ImportData({ resetIsDeletingData, setIsLoading }) {
style: 'cancel', style: 'cancel',
onPress: () => {}, onPress: () => {},
}, },
{
text: t('dialog.replace'),
onPress: () => startImport(false),
},
{ {
text: t('dialog.delete'), text: t('dialog.delete'),
onPress: () => startImport(true), onPress: () => startImport(true),
}, },
{
text: t('dialog.replace'),
onPress: () => startImport(false),
},
]) ])
} }