summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-08-26 18:38:54 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-08-26 18:38:54 +0200
commitff317c5c2aed109e2bc45659e90968be48c674b2 (patch)
tree8545154d0941d4f833425b5e69087a2660d09b2e /lib/Travelynx/Controller
parentb4a31cbc4657690c802f1841cc12fcae28211752 (diff)
show connections up to 40 minutes before arrival (rather than just 20)1.23.8
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm4
1 files changed, 2 insertions, 2 deletions
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(