mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
make footway arrival clickable
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@131 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1ab51c23f5
commit
d9499a3329
7 changed files with 35 additions and 23 deletions
|
@ -536,11 +536,11 @@ public class MvvProvider implements NetworkProvider
|
|||
if (parts.size() > 0 && parts.get(parts.size() - 1) instanceof Connection.Footway)
|
||||
{
|
||||
final Connection.Footway lastFootway = (Connection.Footway) parts.remove(parts.size() - 1);
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), lastFootway.departure, arrival));
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), 0, lastFootway.departure, 0, arrival));
|
||||
}
|
||||
else
|
||||
{
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), departure, arrival));
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), 0, departure, 0, arrival));
|
||||
}
|
||||
|
||||
lastArrival = arrival;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue