mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
adds missing brackets on multiline if statements
This commit is contained in:
parent
64e074840b
commit
c89f28ffb2
1 changed files with 6 additions and 4 deletions
|
@ -286,10 +286,11 @@ class FtueAuthVariant(
|
|||
}
|
||||
|
||||
private fun handleSignInSelected(state: OnboardingViewState) {
|
||||
if (vectorFeatures.isForceLoginFallbackEnabled())
|
||||
if (vectorFeatures.isForceLoginFallbackEnabled()) {
|
||||
onLoginModeNotSupported(state.loginModeSupportedTypes)
|
||||
else
|
||||
} else {
|
||||
disambiguateLoginMode(state)
|
||||
}
|
||||
}
|
||||
|
||||
private fun disambiguateLoginMode(state: OnboardingViewState) = when (state.loginMode) {
|
||||
|
@ -317,10 +318,11 @@ class FtueAuthVariant(
|
|||
}
|
||||
|
||||
private fun handleSignInWithMatrixId(state: OnboardingViewState) {
|
||||
if (vectorFeatures.isForceLoginFallbackEnabled())
|
||||
if (vectorFeatures.isForceLoginFallbackEnabled()) {
|
||||
onLoginModeNotSupported(state.loginModeSupportedTypes)
|
||||
else
|
||||
} else {
|
||||
openAuthLoginFragmentWithTag(FRAGMENT_LOGIN_TAG)
|
||||
}
|
||||
}
|
||||
|
||||
private fun openAuthWebFragment() {
|
||||
|
|
Loading…
Reference in a new issue