diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/dataaccess/SqliteBankingRepository.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/dataaccess/SqliteBankingRepository.kt index 53a644b..c48ed98 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/dataaccess/SqliteBankingRepository.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/dataaccess/SqliteBankingRepository.kt @@ -214,7 +214,7 @@ open class SqliteBankingRepository( enums.joinToString(",") { it.name } private fun > mapEnumSet(enumsString: String, values: EnumEntries): Set = - enumsString.split(',').map { mapToEnum(it, values) }.toSet() + enumsString.split(',').filterNot { it.isBlank() }.map { mapToEnum(it, values) }.toSet() @JvmName("mapIntNullable") @JsName("mapIntNullable")