Changes order of buttons in the import alert

This commit is contained in:
Sofiya Tepikin
2019-05-20 17:16:05 +02:00
parent 43b98ed9a5
commit 417083b0c1
@@ -11,13 +11,13 @@ export function openImportDialog(onImportData) {
labels.import.title,
labels.import.message,
[{
text: labels.import.replaceOption,
onPress: () => onImportData(false)
text: sharedLabels.cancel, style: 'cancel', onPress: () => { }
}, {
text: labels.import.deleteOption,
onPress: () => onImportData(true)
}, {
text: sharedLabels.cancel, style: 'cancel', onPress: () => { }
text: labels.import.replaceOption,
onPress: () => onImportData(false)
}]
)
}