From f3f423cbf2d310e07348ce1d13615724863fecf9 Mon Sep 17 00:00:00 2001 From: Maxim Soloviev Date: Sat, 10 Dec 2016 17:44:57 -0800 Subject: [PATCH] Show group being removed. Closes #182 --- .../odk/collect/android/activities/FormEntryActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java b/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java index ba452c64e21..7a46d5e545c 100644 --- a/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java +++ b/collect_app/src/main/java/org/odk/collect/android/activities/FormEntryActivity.java @@ -1714,8 +1714,6 @@ private void createDeleteRepeatConfirmDialog() { FormController formController = Collect.getInstance() .getFormController(); - showView(new EmptyView(this), AnimationType.FADE); - mAlertDialog = new AlertDialog.Builder(this).create(); mAlertDialog.setIcon(android.R.drawable.ic_dialog_info); String name = formController.getLastRepeatedGroupName(); @@ -1738,8 +1736,9 @@ public void onClick(DialogInterface dialog, int i) { .logInstanceAction(this, "createDeleteRepeatConfirmDialog", "OK"); formController.deleteRepeat(); - showPreviousView(); + refreshCurrentView(); break; + case DialogInterface.BUTTON_NEGATIVE: // no Collect.getInstance() .getActivityLogger()