From ed2af89add211bc7ca9ec5be6715ea69f262ed06 Mon Sep 17 00:00:00 2001 From: Shobhit Agarwal Date: Wed, 28 Feb 2024 21:47:53 +0530 Subject: [PATCH] Fix key value for time type tasks (#2263) Co-authored-by: Gino Miceli <228050+gino-m@users.noreply.github.com> --- .../ground/persistence/remote/firebase/schema/TaskConverter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/TaskConverter.kt b/ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/TaskConverter.kt index d484777656..691eee4755 100644 --- a/ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/TaskConverter.kt +++ b/ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/TaskConverter.kt @@ -55,7 +55,7 @@ internal object TaskConverter { "draw_area" -> Task.Type.DRAW_AREA "number" -> Task.Type.NUMBER "date" -> Task.Type.DATE - "time" -> Task.Type.TIME + "date_time" -> Task.Type.TIME "capture_location" -> Task.Type.CAPTURE_LOCATION else -> Task.Type.UNKNOWN }