Browse Source

Fix issue on mobile platforms

master
Radium Zheng 7 years ago
parent
commit
49bdd53bee

+ 0
- 0
react/features/local-recording/components/LocalRecordingLabel.native.js View File


react/features/local-recording/components/LocalRecordingLabel.js → react/features/local-recording/components/LocalRecordingLabel.web.js View File


+ 1
- 1
react/features/local-recording/middleware.js View File

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

Loading…
Cancel
Save