diff --git a/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java b/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
index c8a99b3b2..b411a760f 100644
--- a/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
+++ b/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java
@@ -731,6 +731,18 @@ private void initToolbars() {
triggerTts(deleteTts);
});
+ deleteValue.setOnLongClickListener(v -> {
+
+ ObservationModel[] models = database.getRepeatedValues(getStudyId(), getObservationUnit(), getTraitDbId());
+
+ if (models.length > 0) {
+
+ showConfirmMultiMeasureDeleteDialog(List.of(models));
+
+ }
+
+ return true;
+ });
}
/**
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b9764aa42..2e50ce82c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -518,7 +518,7 @@
Displays the number of repeated values.
No observations exist.
Observations
- These observations will be permanently deleted.
+ All observations for this trait will be permanently deleted.
Delete
Select all