#3374 batch edit fab: avoid call show repeatedly for potential complication per review

This commit is contained in:
orionlee 2019-09-03 14:22:23 -07:00
parent 695698dbec
commit 4497c952a9
1 changed files with 3 additions and 1 deletions

View File

@ -217,7 +217,9 @@ public class EpisodesApplyActionFragment extends Fragment {
private void showSpeedDialIfAnyChecked() {
if (checkedIds.size() > 0) {
if (!mSpeedDialView.isShown()) {
mSpeedDialView.show();
}
} else {
mSpeedDialView.hide(); // hide() also handles UI, e.g., overlay properly.
}