assigned "all points of the group" to top of the context menu in WptPtMenuBuilder

This commit is contained in:
Chumva 2018-02-20 13:32:39 +02:00
parent defb355686
commit bb4456af56

View file

@ -47,6 +47,7 @@ public class WptPtMenuBuilder extends MenuBuilder {
@Override
public void buildInternal(View view) {
buildWaypointsView(view);
if (wpt.time > 0) {
DateFormat dateFormat = android.text.format.DateFormat.getMediumDateFormat(view.getContext());
DateFormat timeFormat = android.text.format.DateFormat.getTimeFormat(view.getContext());
@ -89,7 +90,6 @@ public class WptPtMenuBuilder extends MenuBuilder {
});
}
buildWaypointsView(view);
buildPlainMenuItems(view);
}