Fix issue on mobile platforms
This commit is contained in:
parent
0827e02de9
commit
49bdd53bee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue