always show 'run' icon when an interchange is short
This commit is contained in:
parent
65eaa9ffbe
commit
6bae226d5c
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ sub get_connecting_trains_p {
|
||||||
= ( $train->departure->epoch - $arr_epoch ) / 60;
|
= ( $train->departure->epoch - $arr_epoch ) / 60;
|
||||||
if ( $interchange_time < $interchange_duration ) {
|
if ( $interchange_time < $interchange_duration ) {
|
||||||
$train->{interchange_text} = 'Anschluss knapp';
|
$train->{interchange_text} = 'Anschluss knapp';
|
||||||
$train->{interchange_icon} = 'warning';
|
$train->{interchange_icon} = 'directions_run';
|
||||||
}
|
}
|
||||||
elsif ( $interchange_time == $interchange_duration ) {
|
elsif ( $interchange_time == $interchange_duration ) {
|
||||||
$train->{interchange_text}
|
$train->{interchange_text}
|
||||||
|
|
Loading…
Reference in a new issue