summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/viewer.reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js')
-rw-r--r--animism-align/frontend/app/views/viewer/viewer.reducer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.reducer.js b/animism-align/frontend/app/views/viewer/viewer.reducer.js
index e1a0167..6ec615a 100644
--- a/animism-align/frontend/app/views/viewer/viewer.reducer.js
+++ b/animism-align/frontend/app/views/viewer/viewer.reducer.js
@@ -1,5 +1,6 @@
import * as types from 'app/types'
import { GROWL } from 'app/constants'
+import { isHandheld } from 'app/utils'
const navComponents = {
/* UI components that close if anything else opens */
@@ -22,6 +23,7 @@ const initialState = {
nextSection: null,
autoAdvance: false,
atEndOfSection: false,
+ onlyEnableFirstSection: isHandheld,
/* footnotes */
footnoteList: [],
@@ -29,6 +31,7 @@ const initialState = {
/* color of the bar / logo / icons */
navStyle: 'white',
+ navGradient: false, // mobile only?
/* title of media if in fullscreen mode */
mediaTitle: null,