Split long line.

This commit is contained in:
Benoit Marty 2023-03-20 09:47:03 +01:00
parent bdca60aa9c
commit 0ebe5e4faf

View file

@ -24,10 +24,18 @@ open class VerifySelfSessionStateProvider : PreviewParameterProvider<VerifySelfS
override val values: Sequence<VerifySelfSessionState> override val values: Sequence<VerifySelfSessionState>
get() = sequenceOf( get() = sequenceOf(
aVerifySelfSessionState(), aVerifySelfSessionState(),
aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.AwaitingOtherDeviceResponse), aVerifySelfSessionState().copy(
aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Uninitialized)), verificationFlowStep = VerifySelfSessionState.VerificationStep.AwaitingOtherDeviceResponse
aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Verifying(aVerificationEmojiList(), Async.Loading())), ),
aVerifySelfSessionState().copy(verificationFlowStep = VerifySelfSessionState.VerificationStep.Canceled), 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 // Add other state here
) )
} }