From ab3d4c4de4068177b07bf1b946cc2777ca0e3d35 Mon Sep 17 00:00:00 2001 From: Vitor Hugo Schwaab Date: Fri, 24 May 2024 13:08:02 +0200 Subject: [PATCH] chore: add missing parameters after kalium update --- .../settings/devices/EndToEndIdentityCertificateItem.kt | 8 ++++++-- .../ui/settings/devices/model/DeviceDetailsState.kt | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/settings/devices/EndToEndIdentityCertificateItem.kt b/app/src/main/kotlin/com/wire/android/ui/settings/devices/EndToEndIdentityCertificateItem.kt index 76e472b72c7..850b204e335 100644 --- a/app/src/main/kotlin/com/wire/android/ui/settings/devices/EndToEndIdentityCertificateItem.kt +++ b/app/src/main/kotlin/com/wire/android/ui/settings/devices/EndToEndIdentityCertificateItem.kt @@ -202,7 +202,9 @@ fun PreviewEndToEndIdentityCertificateItem() { status = CertificateStatus.VALID, serialNumber = "e5:d5:e6:75:7e:04:86:07:14:3c:a0:ed:9a:8d:e4:fd", certificateDetail = "", - endAt = Instant.DISTANT_FUTURE + endAt = Instant.DISTANT_FUTURE, + userHandle = "userHandle", + thumbprint = "thumbprint", ), isLoadingCertificate = false, enrollE2eiCertificate = {}, @@ -220,7 +222,9 @@ fun PreviewEndToEndIdentityCertificateSelfItem() { status = CertificateStatus.VALID, serialNumber = "e5:d5:e6:75:7e:04:86:07:14:3c:a0:ed:9a:8d:e4:fd", certificateDetail = "", - endAt = Instant.DISTANT_FUTURE + endAt = Instant.DISTANT_FUTURE, + userHandle = "userHandle", + thumbprint = "thumbprint", ), isLoadingCertificate = false, enrollE2eiCertificate = {}, diff --git a/app/src/main/kotlin/com/wire/android/ui/settings/devices/model/DeviceDetailsState.kt b/app/src/main/kotlin/com/wire/android/ui/settings/devices/model/DeviceDetailsState.kt index 784f0d38fb1..5351af767d6 100644 --- a/app/src/main/kotlin/com/wire/android/ui/settings/devices/model/DeviceDetailsState.kt +++ b/app/src/main/kotlin/com/wire/android/ui/settings/devices/model/DeviceDetailsState.kt @@ -37,7 +37,9 @@ data class DeviceDetailsState( status = CertificateStatus.EXPIRED, serialNumber = "", certificateDetail = "", - endAt = Instant.DISTANT_FUTURE + endAt = Instant.DISTANT_FUTURE, + userHandle = "", + thumbprint = "" ), val canBeRemoved: Boolean = false, val isLoadingCertificate: Boolean = false,