From 24b86e66b4920ba03f4b7c744a4e99d91513d459 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sat, 7 Dec 2024 18:20:49 +0100 Subject: [PATCH] fix: Trying to fix the serialization issue. --- .../bou/amine/apps/readerforselfossv2/model/SelfossModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/model/SelfossModel.kt b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/model/SelfossModel.kt index de13183..70073bd 100644 --- a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/model/SelfossModel.kt +++ b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/model/SelfossModel.kt @@ -191,7 +191,7 @@ class SelfossModel { } override val descriptor: SerialDescriptor - get() = PrimitiveSerialDescriptor("b", PrimitiveKind.BOOLEAN) + get() = PrimitiveSerialDescriptor("BooleanOrIntForSomeSelfossVersions", PrimitiveKind.BOOLEAN) override fun serialize( encoder: Encoder, -- 2.34.1