Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39d2a9f4 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Create Account: Remove error in input field when someone types

parent d3237c5e
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ class SendInviteFragment : Fragment() {
                    emailTextLayout.boxStrokeColor = resources.getColor(R.color.create_account_input_disabled_color)
                    emailTextLayout.hintTextColor = resources.getColorStateList(R.color.create_account_input_disabled_color)
                }
                emailTextLayout.isErrorEnabled = false
            }
            override fun afterTextChanged(p0: Editable?) {

@@ -174,6 +175,7 @@ class SendInviteFragment : Fragment() {
            300 -> {
                activity?.let {
                    val emailField = it.findViewById<TextInputLayout>(R.id.emailId_layout)
                    emailField.isErrorEnabled = true
                    emailField.error = getString(R.string.emailid_error)
                }

+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@
        android:layout_marginTop="25dp"
        android:theme="@style/edittext_holder_theme"
        app:hintTextColor="@color/create_account_input_disabled_color"
        app:errorEnabled="true"
        app:boxStrokeColor="@color/create_account_input_disabled_color"
        app:layout_constraintStart_toStartOf="@id/heading"
        app:layout_constraintTop_toBottomOf="@id/heading">