From a0fd74f70fba88c72a6e60334f317cab29474129 Mon Sep 17 00:00:00 2001 From: Mojtaba Chenani Date: Tue, 14 May 2024 11:54:29 +0200 Subject: [PATCH] fix(e2ei): crash on downloading certificates (WPB-9097) (#3000) --- .../devices/e2ei/E2eiCertificateDetailsScreenNavArgs.kt | 7 +++++-- kalium | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/settings/devices/e2ei/E2eiCertificateDetailsScreenNavArgs.kt b/app/src/main/kotlin/com/wire/android/ui/settings/devices/e2ei/E2eiCertificateDetailsScreenNavArgs.kt index 893e951e915..eb3c59ef19b 100644 --- a/app/src/main/kotlin/com/wire/android/ui/settings/devices/e2ei/E2eiCertificateDetailsScreenNavArgs.kt +++ b/app/src/main/kotlin/com/wire/android/ui/settings/devices/e2ei/E2eiCertificateDetailsScreenNavArgs.kt @@ -18,12 +18,15 @@ package com.wire.android.ui.settings.devices.e2ei import com.wire.kalium.logic.feature.e2ei.E2eiCertificate +import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable data class E2eiCertificateDetailsScreenNavArgs(val certificateDetails: E2EICertificateDetails) @Serializable sealed class E2EICertificateDetails { - data class AfterLoginCertificateDetails(val certificate: E2eiCertificate) : E2EICertificateDetails() - data class DuringLoginCertificateDetails(val certificate: String) : E2EICertificateDetails() + @Serializable + data class AfterLoginCertificateDetails(@SerialName("certificate") val certificate: E2eiCertificate) : E2EICertificateDetails() + @Serializable + data class DuringLoginCertificateDetails(@SerialName("certificate") val certificate: String) : E2EICertificateDetails() } diff --git a/kalium b/kalium index 8d2325bd2d9..9fda63d7b36 160000 --- a/kalium +++ b/kalium @@ -1 +1 @@ -Subproject commit 8d2325bd2d92c965692f3faf9f80ffc2547102e8 +Subproject commit 9fda63d7b363130c6d7f1d1ca4ba43eb598b4ac8