Skip to content

Commit

Permalink
fix the lowercasing issue in the example app
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jan 26, 2024
1 parent e96d81a commit d83938d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class NewGroupBottomSheet : BottomSheetDialogFragment() {
val input = binding.addressInput1.text.trim()
val matcher = ADDRESS_PATTERN.matcher(input)
if (matcher.matches()) {
addresses.add(input.toString())
addresses.add(input.toString().lowercase())
binding.addressInput2.visibility = VISIBLE
}
}
Expand All @@ -68,7 +68,7 @@ class NewGroupBottomSheet : BottomSheetDialogFragment() {
val input = binding.addressInput2.text.trim()
val matcher = ADDRESS_PATTERN.matcher(input)
if (matcher.matches()) {
addresses.add(input.toString())
addresses.add(input.toString().lowercase())
viewModel.createGroup(addresses)
}
}
Expand Down

0 comments on commit d83938d

Please sign in to comment.