Skip to content

Commit

Permalink
Allow input of heights of >9.99m (fixes #5232)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Sep 3, 2023
1 parent a0db1b4 commit 5cc1ac6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class AddMaxHeightForm : AbstractOsmQuestForm<MaxHeightAnswer>() {
inchesInput = view.findViewById(R.id.inchInput)
)
lengthInput.maxFeetDigits = 2
lengthInput.maxMeterDigits = Pair(1, 2)
lengthInput.maxMeterDigits = Pair(2, 2)
lengthInput.selectableUnits = countryInfo.lengthUnits
lengthInput.onInputChanged = { checkIsFormComplete() }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AddMaxPhysicalHeightForm : AbstractOsmQuestForm<MaxPhysicalHeightAnswer>()
lengthInput.unitSelectItemResId = R.layout.spinner_item_centered_large
lengthInput.isCompactMode = true
lengthInput.maxFeetDigits = 2
lengthInput.maxMeterDigits = Pair(1, 2)
lengthInput.maxMeterDigits = Pair(2, 2)
lengthInput.selectableUnits = countryInfo.lengthUnits
lengthInput.onInputChanged = {
isARMeasurement = false
Expand Down

0 comments on commit 5cc1ac6

Please sign in to comment.