Show transport rotes on top
This commit is contained in:
parent
dc9529fa69
commit
8f75d07b44
1 changed files with 8 additions and 4 deletions
|
@ -288,14 +288,14 @@ public class MenuBuilder {
|
|||
if (showTitleIfTruncated) {
|
||||
buildTitleRow(view);
|
||||
}
|
||||
if (showTransportRoutes()) {
|
||||
buildRow(view, 0, app.getString(R.string.transport_Routes), 0, true, getCollapsableTransportStopRoutesView(view.getContext(), false),
|
||||
false, 0, false, null, true);
|
||||
}
|
||||
buildNearestWikiRow(view);
|
||||
if (needBuildPlainMenuItems()) {
|
||||
buildPlainMenuItems(view);
|
||||
}
|
||||
if (routes.size() > 0) {
|
||||
buildRow(view, 0, app.getString(R.string.transport_Routes), 0, true, getCollapsableTransportStopRoutesView(view.getContext(), false),
|
||||
false, 0, false, null, true);
|
||||
}
|
||||
buildInternal(view);
|
||||
if (showOnlinePhotos) {
|
||||
buildNearestPhotosRow(view);
|
||||
|
@ -304,6 +304,10 @@ public class MenuBuilder {
|
|||
buildAfter(view);
|
||||
}
|
||||
|
||||
private boolean showTransportRoutes() {
|
||||
return routes.size() > 0;
|
||||
}
|
||||
|
||||
void onHide() {
|
||||
hidden = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue