From 4497c952a90deb3267b145b6f69451747d21f5d2 Mon Sep 17 00:00:00 2001 From: orionlee Date: Tue, 3 Sep 2019 14:22:23 -0700 Subject: [PATCH] #3374 batch edit fab: avoid call show repeatedly for potential complication per review --- .../danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index 744249a33..ed35495fa 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -217,7 +217,9 @@ public class EpisodesApplyActionFragment extends Fragment { private void showSpeedDialIfAnyChecked() { if (checkedIds.size() > 0) { - mSpeedDialView.show(); + if (!mSpeedDialView.isShown()) { + mSpeedDialView.show(); + } } else { mSpeedDialView.hide(); // hide() also handles UI, e.g., overlay properly. }