From ff317c5c2aed109e2bc45659e90968be48c674b2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 Aug 2022 18:38:54 +0200 Subject: show connections up to 40 minutes before arrival (rather than just 20) --- lib/Travelynx/Controller/Traveling.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index ed1a879..79d16c1 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -219,7 +219,7 @@ sub homepage { my $status = $self->get_user_status; if ( $status->{checked_in} ) { if ( defined $status->{arrival_countdown} - and $status->{arrival_countdown} < ( 20 * 60 ) ) + and $status->{arrival_countdown} < ( 40 * 60 ) ) { $self->render_later; $self->get_connecting_trains_p->then( @@ -587,7 +587,7 @@ sub status_card { if ( $status->{checked_in} ) { if ( defined $status->{arrival_countdown} - and $status->{arrival_countdown} < ( 20 * 60 ) ) + and $status->{arrival_countdown} < ( 40 * 60 ) ) { $self->render_later; $self->get_connecting_trains_p->then( -- cgit v1.2.3