show connections up to 40 minutes before arrival (rather than just 20)
This commit is contained in:
parent
b4a31cbc46
commit
ff317c5c2a
1 changed files with 2 additions and 2 deletions
|
@ -219,7 +219,7 @@ sub homepage {
|
||||||
my $status = $self->get_user_status;
|
my $status = $self->get_user_status;
|
||||||
if ( $status->{checked_in} ) {
|
if ( $status->{checked_in} ) {
|
||||||
if ( defined $status->{arrival_countdown}
|
if ( defined $status->{arrival_countdown}
|
||||||
and $status->{arrival_countdown} < ( 20 * 60 ) )
|
and $status->{arrival_countdown} < ( 40 * 60 ) )
|
||||||
{
|
{
|
||||||
$self->render_later;
|
$self->render_later;
|
||||||
$self->get_connecting_trains_p->then(
|
$self->get_connecting_trains_p->then(
|
||||||
|
@ -587,7 +587,7 @@ sub status_card {
|
||||||
|
|
||||||
if ( $status->{checked_in} ) {
|
if ( $status->{checked_in} ) {
|
||||||
if ( defined $status->{arrival_countdown}
|
if ( defined $status->{arrival_countdown}
|
||||||
and $status->{arrival_countdown} < ( 20 * 60 ) )
|
and $status->{arrival_countdown} < ( 40 * 60 ) )
|
||||||
{
|
{
|
||||||
$self->render_later;
|
$self->render_later;
|
||||||
$self->get_connecting_trains_p->then(
|
$self->get_connecting_trains_p->then(
|
||||||
|
|
Loading…
Reference in a new issue