We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ground-android/ground/src/main/java/com/google/android/ground/domain/usecases/submission/SubmitDataUseCase.kt
Lines 71 to 72 in 8618468
val addLoiTaskId = deltas.indexOfFirst { it.taskId == addLoiTask.id } if (addLoiTaskId < 0) error("Add LOI task response missing") val addLoiValue = deltas.removeAt(addLoiTaskId).newTaskData // TODO: Replace check for valid addLoiTask using task type instead of TaskValue's type. // Issue URL: https://github.com/google/ground-android/issues/2981 if (addLoiValue !is GeometryTaskData) error("Invalid add LOI task response") return locationOfInterestRepository.saveLoi( addLoiValue.geometry,
The text was updated successfully, but these errors were encountered:
shobhitagarwal1612
No branches or pull requests
ground-android/ground/src/main/java/com/google/android/ground/domain/usecases/submission/SubmitDataUseCase.kt
Lines 71 to 72 in 8618468
The text was updated successfully, but these errors were encountered: