mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 06:28:45 +03:00
fixing detekt/formatting issues
This commit is contained in:
parent
137fe89938
commit
8b2132c6dd
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue