Skip to content

Commit 50b4095

Browse files
sorenoidSoren Roth
and
Soren Roth
authored
agree with exception name change (#377)
* update exception name for API change * update exception name for API change * pull in the build of the SDK with the name change of IncorrectValueTypeException --------- Co-authored-by: Soren Roth <[email protected]>
1 parent 28a967b commit 50b4095

File tree

3 files changed

+3
-3
lines changed
  • microapps/FeatureFormsApp/app/src/main/java/com/arcgismaps/toolkit/featureformsapp/screens/map
  • toolkit/featureforms/src/main/java/com/arcgismaps/toolkit/featureforms/internal/components/base

3 files changed

+3
-3
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ ignoreBuildNumber=false
5454
# these versions define the dependency of the ArcGIS Maps SDK for Kotlin dependency
5555
# and are generally not overridden at the command line unless a special build is requested.
5656
sdkVersionNumber=200.4.0
57-
sdkBuildNumber=4180
57+
sdkBuildNumber=4191

microapps/FeatureFormsApp/app/src/main/java/com/arcgismaps/toolkit/featureformsapp/screens/map/MapScreen.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ private fun SubmitForm(errors: List<ErrorInfo>, onDismissRequest: () -> Unit) {
360360
@Composable
361361
fun FeatureFormValidationException.getString(): String {
362362
return when (this) {
363-
is FeatureFormValidationException.IncorrectValueTypeError -> {
363+
is FeatureFormValidationException.IncorrectValueTypeException -> {
364364
stringResource(id = R.string.value_must_be_of_correct_type)
365365
}
366366

toolkit/featureforms/src/main/java/com/arcgismaps/toolkit/featureforms/internal/components/base/Flows.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private fun createValidationErrorStates(
106106
)
107107
}
108108

109-
is FeatureFormValidationException.IncorrectValueTypeError -> {
109+
is FeatureFormValidationException.IncorrectValueTypeException -> {
110110
if (formElement.fieldType.isFloatingPoint) {
111111
add(ValidationErrorState.NotANumber)
112112
} else if (formElement.fieldType.isIntegerType) {

0 commit comments

Comments
 (0)