summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-29 08:52:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-29 08:52:24 +0200
commite7d37d5a81537668a71d373c8eb59d08242c25d4 (patch)
treed208d334d9d5dd6dc2a0b1f3dae7985e567573f9 /lib/DBInfoscreen
parentcd1dc7572478988591389f75e15109419089c440 (diff)
Switch to App/Mobile first, no longer rely on BrowserDetect plugin
"App" with force_mobile=1 is now the default view even on desktop -- The infoscreen template's extra large font wasn't really nice. This breaks the setup of everyone who was relying on infoscreen being the default -- please append `mode=infoscreen` to your requests.
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index ed5f2d1..c13ed48 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -798,6 +798,7 @@ sub handle_request {
$template eq 'single'
or $template eq 'multi'
),
+ force_mobile => ( $template eq 'app' ),
);
}
return;