diff --git a/dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorViewModel.kt b/dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorViewModel.kt index a2b50d83ad..e4905acf0a 100644 --- a/dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorViewModel.kt +++ b/dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorViewModel.kt @@ -450,8 +450,10 @@ class MapSelectorViewModel( private fun canCaptureWithSwipe() = featureType == FeatureType.POINT && _screenState.value.isManualCaptureEnabled && - (_screenState.value.selectedLocation !is SelectedLocation.None || - _screenState.value.captureMode.isManual()) + ( + _screenState.value.selectedLocation !is SelectedLocation.None || + _screenState.value.captureMode.isManual() + ) fun canCaptureManually(): Boolean { return _screenState.value.isManualCaptureEnabled