This commit is contained in:
androiddevkkotlin 2020-12-28 14:17:13 +02:00
parent 8375f7f107
commit bd0ee52f91

View file

@ -521,8 +521,7 @@ public class WaypointDialogHelper {
} }
}) })
.create(); .create();
int intermediateSize = targetsHelper.getIntermediatePoints().size(); if (!Algorithms.isEmpty(targetsHelper.getIntermediatePoints())) {
if (intermediateSize >= 1) {
items.add(reorderAllItems); items.add(reorderAllItems);
} }