fixing detekt/formatting issues

This commit is contained in:
Adam Brown 2022-05-23 14:53:48 +01:00
parent 137fe89938
commit 8b2132c6dd
2 changed files with 2 additions and 2 deletions

View file

@ -19,8 +19,8 @@ package im.vector.app.features.onboarding
import im.vector.app.R import im.vector.app.R
import im.vector.app.core.extensions.andThen import im.vector.app.core.extensions.andThen
import im.vector.app.core.resources.StringProvider import im.vector.app.core.resources.StringProvider
import org.matrix.android.sdk.api.MatrixPatterns.getServerName
import im.vector.app.features.onboarding.OnboardingAction.AuthenticateAction.LoginDirect import im.vector.app.features.onboarding.OnboardingAction.AuthenticateAction.LoginDirect
import org.matrix.android.sdk.api.MatrixPatterns.getServerName
import org.matrix.android.sdk.api.auth.AuthenticationService import org.matrix.android.sdk.api.auth.AuthenticationService
import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig
import org.matrix.android.sdk.api.auth.wellknown.WellknownResult import org.matrix.android.sdk.api.auth.wellknown.WellknownResult

View file

@ -36,7 +36,7 @@ fun SignMode.toAuthenticateAction(login: String, password: String, initialDevice
/** /**
* A flow to monitor content changes from both username/id and password fields, * A flow to monitor content changes from both username/id and password fields,
* clearing errors and enabling/disabling the submission button on non empty content changes * clearing errors and enabling/disabling the submission button on non empty content changes.
*/ */
fun observeContentChangesAndResetErrors(username: TextInputLayout, password: TextInputLayout, submit: Button): Flow<*> { fun observeContentChangesAndResetErrors(username: TextInputLayout, password: TextInputLayout, submit: Button): Flow<*> {
return combine( return combine(