Fixes lint errors

This commit is contained in:
ericdecanini 2022-04-21 11:54:29 +02:00
parent ed11ca99af
commit 8e569af60c
2 changed files with 6 additions and 13 deletions

View file

@ -20,10 +20,9 @@ import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import org.matrix.android.sdk.api.auth.data.SsoIdentityProvider
sealed class LoginMode : Parcelable
/** because persist state */
{
@Parcelize object Unknown : LoginMode()
sealed class LoginMode : Parcelable { /** Parcelable because persist state */
@Parcelize object Unknown : LoginMode()
@Parcelize object Password : LoginMode()
@Parcelize data class Sso(val ssoIdentityProviders: List<SsoIdentityProvider>?) : LoginMode()
@Parcelize data class SsoAndPassword(val ssoIdentityProviders: List<SsoIdentityProvider>?) : LoginMode()

View file

@ -33,15 +33,9 @@ data class CreateSpaceState(
val aliasManuallyModified: Boolean = false,
val aliasVerificationTask: Async<Boolean> = Uninitialized,
val nameInlineError: String? = null,
val defaultRooms: Map<Int
/** position in form */
, String?>? = null,
val default3pidInvite: Map<Int
/** position in form */
, String?>? = null,
val emailValidationResult: Map<Int
/** position in form */
, Boolean>? = null,
val defaultRooms: Map<Int, String?>? = null, /** Int: position in form */
val default3pidInvite: Map<Int, String?>? = null, /** Int: position in form */
val emailValidationResult: Map<Int, Boolean>? = null, /** Int: position in form */
val creationResult: Async<String> = Uninitialized,
val canInviteByMail: Boolean = false
) : MavericksState {