Rather use NoDistributorsAvailable, it has more chance to happen IRL.

This commit is contained in:
Benoit Marty 2024-06-17 18:03:00 +02:00
parent 6ea0fc8d17
commit ff40b095fe

View file

@ -24,7 +24,7 @@ open class LoggedInStateProvider : PreviewParameterProvider<LoggedInState> {
get() = sequenceOf( get() = sequenceOf(
aLoggedInState(), aLoggedInState(),
aLoggedInState(showSyncSpinner = true), aLoggedInState(showSyncSpinner = true),
aLoggedInState(pusherRegistrationState = AsyncData.Failure(PusherRegistrationFailure.NoProvidersAvailable())), aLoggedInState(pusherRegistrationState = AsyncData.Failure(PusherRegistrationFailure.NoDistributorsAvailable())),
) )
} }