From 49bf241d0fa275053424db3458a057de7b9d418f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 21 Nov 2020 16:44:07 +0100 Subject: messaging if rest of chapters are disabled. grayscale all disabled media --- animism-align/frontend/app/views/viewer/viewer.reducer.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'animism-align/frontend/app/views/viewer/viewer.reducer.js') 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, -- cgit v1.2.3-70-g09d2