diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-11-21 16:44:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-11-21 16:44:07 +0100 |
| commit | 49bf241d0fa275053424db3458a057de7b9d418f (patch) | |
| tree | 8df9a9c5748c2bece60de2403d1cddbe0cd56b56 /animism-align/frontend/app/views/viewer/viewer.reducer.js | |
| parent | ee04ccd494b8a2dd1e535168979596c9907cd0ab (diff) | |
messaging if rest of chapters are disabled. grayscale all disabled media
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.reducer.js | 3 |
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, |
