From 86e60004784428a6dbfa453201749a3dc221bc94 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Sat, 26 Oct 2024 16:24:23 +0300 Subject: [PATCH] fix: Make Text a default field entity's type #678 --- .../artemchep/keyguard/provider/bitwarden/entity/FieldEntity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/entity/FieldEntity.kt b/common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/entity/FieldEntity.kt index 387f72e5..6e62bdbd 100644 --- a/common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/entity/FieldEntity.kt +++ b/common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/entity/FieldEntity.kt @@ -8,7 +8,7 @@ import kotlinx.serialization.json.JsonNames data class FieldEntity( @JsonNames("type") @SerialName("Type") - val type: FieldTypeEntity, + val type: FieldTypeEntity = FieldTypeEntity.Text, @JsonNames("name") @SerialName("Name") val name: String? = null,