defaulting the password field to the password type by default in xml
This commit is contained in:
parent
c83882d903
commit
aa5054cddf
|
@ -63,7 +63,6 @@ class FtueAuthCombinedSignUpFragment @Inject constructor() : AbstractSSOFtueAuth
|
||||||
|
|
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
super.onViewCreated(view, savedInstanceState)
|
super.onViewCreated(view, savedInstanceState)
|
||||||
views.createAccountPasswordInput.editText().hidePassword()
|
|
||||||
setupSubmitButton()
|
setupSubmitButton()
|
||||||
|
|
||||||
views.createAccountRoot.realignPercentagesToParent()
|
views.createAccountRoot.realignPercentagesToParent()
|
||||||
|
@ -179,10 +178,10 @@ class FtueAuthCombinedSignUpFragment @Inject constructor() : AbstractSSOFtueAuth
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun renderSsoProviders(deviceId: String?, ssoProviders: List<SsoIdentityProvider>?) {
|
private fun renderSsoProviders(deviceId: String?, ssoProviders: List<SsoIdentityProvider>?) {
|
||||||
|
views.ssoGroup.isVisible = ssoProviders?.isNotEmpty() == true
|
||||||
views.ssoButtons.mode = SocialLoginButtonsView.Mode.MODE_SIGN_UP
|
views.ssoButtons.mode = SocialLoginButtonsView.Mode.MODE_SIGN_UP
|
||||||
views.ssoButtons.ssoIdentityProviders = ssoProviders?.sorted()
|
views.ssoButtons.ssoIdentityProviders = ssoProviders?.sorted()
|
||||||
views.ssoButtons.listener = SocialLoginButtonsView.InteractionListener { id ->
|
views.ssoButtons.listener = SocialLoginButtonsView.InteractionListener { id ->
|
||||||
views.ssoGroup.isVisible = ssoProviders?.isNotEmpty() == true
|
|
||||||
viewModel.getSsoUrl(
|
viewModel.getSsoUrl(
|
||||||
redirectUrl = SSORedirectRouterActivity.VECTOR_REDIRECT_URL,
|
redirectUrl = SSORedirectRouterActivity.VECTOR_REDIRECT_URL,
|
||||||
deviceId = deviceId,
|
deviceId = deviceId,
|
||||||
|
|
|
@ -216,6 +216,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
|
android:inputType="textPassword"
|
||||||
android:maxLines="1" />
|
android:maxLines="1" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
Loading…
Reference in New Issue