diff --git a/app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt b/app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt index 5e35d7c5c9..302ffe6e8e 100644 --- a/app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt +++ b/app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt @@ -156,8 +156,8 @@ class EnrollmentActivity : ActivityGlobalAbstract(), EnrollmentView { data.getStringExtra(MapSelectorActivity.DATA_EXTRA)?.let { handleGeometry( FeatureType.valueOfFeatureType( - data.getStringExtra(MapSelectorActivity.LOCATION_TYPE_EXTRA), - ), + data.getStringExtra(MapSelectorActivity.LOCATION_TYPE_EXTRA)!!, + )!!, it, requestCode, ) diff --git a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt index 3ccebc46dd..b2e796120c 100644 --- a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt +++ b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt @@ -181,7 +181,7 @@ class EventDetailsFragment : FragmentGlobalAbstract() { MapSelectorActivity.create( activity = requireActivity(), fieldUid = null, - locationType = FeatureType.valueOfFeatureType(featureType), + locationType = FeatureType.valueOfFeatureType(featureType)!!, initialData = initCoordinate, programUid = requireArguments().getString(PROGRAM_UID), ), diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 057be9762e..ed5f18384c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,13 +2,13 @@ sdk = "35" minSdk = "21" vCode = "139" -vName = "3.1.1" +vName = "3.2.0-DEV" gradle = "8.8.0" kotlin = '2.0.21' hilt = '2.47' jacoco = '0.8.10' -designSystem = "0.4.1" -dhis2sdk = "1.11.1" +designSystem = "0.5.0-SNAPSHOT" +dhis2sdk = "1.12.0-SNAPSHOT" ruleEngine = "3.2.0" expressionParser = "1.1.0" appcompat = "1.6.1"