From 0ebe5e4faf54dc41b94221dbb7177f3d46bbded0 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 20 Mar 2023 09:47:03 +0100 Subject: [PATCH] Split long line. --- .../impl/VerifySelfSessionStateProvider.kt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/features/verifysession/impl/src/main/kotlin/io/element/android/features/verifysession/impl/VerifySelfSessionStateProvider.kt b/features/verifysession/impl/src/main/kotlin/io/element/android/features/verifysession/impl/VerifySelfSessionStateProvider.kt index 147c784800..01b0e6bea6 100644 --- a/features/verifysession/impl/src/main/kotlin/io/element/android/features/verifysession/impl/VerifySelfSessionStateProvider.kt +++ b/features/verifysession/impl/src/main/kotlin/io/element/android/features/verifysession/impl/VerifySelfSessionStateProvider.kt @@ -24,10 +24,18 @@ open class VerifySelfSessionStateProvider : PreviewParameterProvider get() = sequenceOf( aVerifySelfSessionState(), - aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.AwaitingOtherDeviceResponse), - aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Uninitialized)), - aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Loading())), - aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Canceled), + aVerifySelfSessionState().copy( + verificationFlowStep = VerifySelfSessionState.VerificationStep.AwaitingOtherDeviceResponse + ), + aVerifySelfSessionState().copy( + verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Uninitialized) + ), + aVerifySelfSessionState().copy( + verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Loading()) + ), + aVerifySelfSessionState().copy( + verificationFlowStep = VerifySelfSessionState.VerificationStep.Canceled + ), // Add other state here ) }