Skip to content

Commit

Permalink
fix error scenario if user enters lowercase letters in passport number
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Reilly committed Sep 13, 2024
1 parent d28a123 commit d6841ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.*


abstract class MainActivity : AppCompatActivity() {

private lateinit var passportNumberView: EditText
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
android:id="@+id/input_passport_number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textCapCharacters"
android:hint="@string/input_passport_number" />

</com.google.android.material.textfield.TextInputLayout>
Expand Down

0 comments on commit d6841ae

Please sign in to comment.