diff --git a/app/src/main/kotlin/com/wire/android/ui/home/conversations/model/UIMessage.kt b/app/src/main/kotlin/com/wire/android/ui/home/conversations/model/UIMessage.kt index 5b8ffec2e0d..85ac0c42877 100644 --- a/app/src/main/kotlin/com/wire/android/ui/home/conversations/model/UIMessage.kt +++ b/app/src/main/kotlin/com/wire/android/ui/home/conversations/model/UIMessage.kt @@ -385,12 +385,12 @@ sealed class UIMessageContent { } ) - object HistoryLost: SystemMessage( + object HistoryLost : SystemMessage( R.drawable.ic_info, R.string.label_system_message_conversation_history_lost, true) - object HistoryLostProtocolChanged: SystemMessage( + object HistoryLostProtocolChanged : SystemMessage( R.drawable.ic_info, R.string.label_system_message_conversation_history_lost_protocol_changed, true diff --git a/app/src/test/kotlin/com/wire/android/framework/TestClient.kt b/app/src/test/kotlin/com/wire/android/framework/TestClient.kt index 8b061be09c4..fc549a9f3fb 100644 --- a/app/src/test/kotlin/com/wire/android/framework/TestClient.kt +++ b/app/src/test/kotlin/com/wire/android/framework/TestClient.kt @@ -30,7 +30,7 @@ object TestClient { val CLIENT_ID = ClientId("test") val CLIENT = Client( - id = CLIENT_ID, + id = CLIENT_ID, type = ClientType.Permanent, registrationTime = Instant.DISTANT_FUTURE, lastActive = Instant.DISTANT_PAST, diff --git a/app/src/test/kotlin/com/wire/android/ui/authentication/devices/register/RegisterDeviceViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/authentication/devices/register/RegisterDeviceViewModelTest.kt index e2c1ec4da87..95803c003d1 100644 --- a/app/src/test/kotlin/com/wire/android/ui/authentication/devices/register/RegisterDeviceViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/authentication/devices/register/RegisterDeviceViewModelTest.kt @@ -32,10 +32,6 @@ import com.wire.android.navigation.NavigationItemDestinationsRoutes import com.wire.android.navigation.NavigationManager import com.wire.android.util.EMPTY import com.wire.kalium.logic.NetworkFailure -import com.wire.kalium.logic.data.client.Client -import com.wire.kalium.logic.data.client.ClientType -import com.wire.kalium.logic.data.client.DeviceType -import com.wire.kalium.logic.data.conversation.ClientId import com.wire.kalium.logic.feature.client.GetOrRegisterClientUseCase import com.wire.kalium.logic.feature.client.RegisterClientResult import com.wire.kalium.logic.feature.user.IsPasswordRequiredUseCase @@ -48,7 +44,6 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.advanceUntilIdle import kotlinx.coroutines.test.runTest -import kotlinx.datetime.Instant import org.amshove.kluent.shouldBe import org.amshove.kluent.shouldBeEqualTo import org.amshove.kluent.shouldBeInstanceOf diff --git a/app/src/test/kotlin/com/wire/android/ui/authentication/login/email/LoginEmailViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/authentication/login/email/LoginEmailViewModelTest.kt index 28b4be29155..b4593ef6b57 100644 --- a/app/src/test/kotlin/com/wire/android/ui/authentication/login/email/LoginEmailViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/authentication/login/email/LoginEmailViewModelTest.kt @@ -45,10 +45,6 @@ import com.wire.kalium.logic.NetworkFailure import com.wire.kalium.logic.configuration.server.CommonApiVersionType import com.wire.kalium.logic.configuration.server.ServerConfig import com.wire.kalium.logic.data.auth.verification.VerifiableAction -import com.wire.kalium.logic.data.client.Client -import com.wire.kalium.logic.data.client.ClientType -import com.wire.kalium.logic.data.client.DeviceType -import com.wire.kalium.logic.data.conversation.ClientId import com.wire.kalium.logic.data.id.QualifiedID import com.wire.kalium.logic.data.id.QualifiedIdMapper import com.wire.kalium.logic.data.user.SsoId @@ -73,7 +69,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.advanceUntilIdle import kotlinx.coroutines.test.runTest -import kotlinx.datetime.Instant import org.amshove.kluent.shouldBe import org.amshove.kluent.shouldBeEqualTo import org.amshove.kluent.shouldBeInstanceOf diff --git a/app/src/test/kotlin/com/wire/android/ui/authentication/login/sso/LoginSSOViewModelTest.kt b/app/src/test/kotlin/com/wire/android/ui/authentication/login/sso/LoginSSOViewModelTest.kt index 5db34fde213..c0201cf8383 100644 --- a/app/src/test/kotlin/com/wire/android/ui/authentication/login/sso/LoginSSOViewModelTest.kt +++ b/app/src/test/kotlin/com/wire/android/ui/authentication/login/sso/LoginSSOViewModelTest.kt @@ -43,10 +43,6 @@ import com.wire.kalium.logic.CoreLogic import com.wire.kalium.logic.NetworkFailure import com.wire.kalium.logic.configuration.server.CommonApiVersionType import com.wire.kalium.logic.configuration.server.ServerConfig -import com.wire.kalium.logic.data.client.Client -import com.wire.kalium.logic.data.client.ClientType -import com.wire.kalium.logic.data.client.DeviceType -import com.wire.kalium.logic.data.conversation.ClientId import com.wire.kalium.logic.data.id.QualifiedID import com.wire.kalium.logic.data.user.SsoId import com.wire.kalium.logic.data.user.UserId @@ -73,7 +69,6 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.advanceUntilIdle import kotlinx.coroutines.test.runTest -import kotlinx.datetime.Instant import org.amshove.kluent.internal.assertEquals import org.amshove.kluent.shouldBe import org.amshove.kluent.shouldBeEqualTo diff --git a/kalium b/kalium index 0a7d865eede..0b3281521de 160000 --- a/kalium +++ b/kalium @@ -1 +1 @@ -Subproject commit 0a7d865eede2e14bb9a54b59f35beb49694470d2 +Subproject commit 0b3281521de63f5013df281cee9828c9437281ba