#3374 batch edit fab: avoid call show repeatedly for potential complication per review
This commit is contained in:
parent
695698dbec
commit
4497c952a9
|
@ -217,7 +217,9 @@ public class EpisodesApplyActionFragment extends Fragment {
|
||||||
|
|
||||||
private void showSpeedDialIfAnyChecked() {
|
private void showSpeedDialIfAnyChecked() {
|
||||||
if (checkedIds.size() > 0) {
|
if (checkedIds.size() > 0) {
|
||||||
|
if (!mSpeedDialView.isShown()) {
|
||||||
mSpeedDialView.show();
|
mSpeedDialView.show();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
mSpeedDialView.hide(); // hide() also handles UI, e.g., overlay properly.
|
mSpeedDialView.hide(); // hide() also handles UI, e.g., overlay properly.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue