diff --git a/datasync/build.gradle b/datasync/build.gradle index 3c8d147..d4d94fa 100644 --- a/datasync/build.gradle +++ b/datasync/build.gradle @@ -5,7 +5,7 @@ plugins { id 'org.jetbrains.kotlin.android' } -version = "0.5.0" +version = "0.5.1" android { namespace 'fr.geonature.datasync' diff --git a/datasync/src/main/java/fr/geonature/datasync/sync/usecase/DataSyncUseCase.kt b/datasync/src/main/java/fr/geonature/datasync/sync/usecase/DataSyncUseCase.kt index 56475b0..08d077f 100644 --- a/datasync/src/main/java/fr/geonature/datasync/sync/usecase/DataSyncUseCase.kt +++ b/datasync/src/main/java/fr/geonature/datasync/sync/usecase/DataSyncUseCase.kt @@ -756,7 +756,7 @@ class DataSyncUseCase @Inject constructor( }.getOrDefault(emptyList())) } - if (withAdditionalData) { + if (withAdditionalData && codeAreaType?.isNotBlank() == true) { Logger.info { "synchronize taxa additional data..." } offset = 0 diff --git a/datasync/version.properties b/datasync/version.properties index b535a38..7cdeedb 100644 --- a/datasync/version.properties +++ b/datasync/version.properties @@ -1,2 +1,2 @@ -#Tue Dec 05 19:05:17 CET 2023 -VERSION_CODE=1160 +#Wed Dec 06 21:08:59 CET 2023 +VERSION_CODE=1165