Fix issue on mobile platforms

This commit is contained in:
Radium Zheng 2018-08-03 05:46:11 +10:00
parent 0827e02de9
commit 49bdd53bee
3 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import { recordingController } from './controller';
declare var APP: Object;
declare var config: Object;
const isFeatureEnabled = config.localRecording
const isFeatureEnabled = typeof config === 'object' && config.localRecording
&& config.localRecording.enabled === true;
isFeatureEnabled