Skip to content

Commit

Permalink
fix(e2ei): crash on downloading certificates (WPB-9097) (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani authored May 14, 2024
1 parent 8e1d419 commit a0fd74f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit a0fd74f

Please sign in to comment.