mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
Fixes lint errors
This commit is contained in:
parent
ed11ca99af
commit
8e569af60c
2 changed files with 6 additions and 13 deletions
|
@ -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()
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue