Realm sync functions call fix

This commit is contained in:
mashazyu
2019-01-06 19:27:03 +01:00
parent 2fc48e94b7
commit 57a6d94790
2 changed files with 3 additions and 5 deletions
@@ -57,7 +57,7 @@ export default class DeleteData extends Component {
deleteAppData = async () => {
const { errors, success } = settings.deleteSegment
try {
await clearDb()
clearDb()
await this.deleteExportedFile()
ToastAndroid.show(success.message, ToastAndroid.LONG)
this.props.onDeleteData()