Bläddra i källkod

Fix issue on mobile platforms

master
Radium Zheng 7 år sedan
förälder
incheckning
49bdd53bee

+ 0
- 0
react/features/local-recording/components/LocalRecordingLabel.native.js Visa fil


react/features/local-recording/components/LocalRecordingLabel.js → react/features/local-recording/components/LocalRecordingLabel.web.js Visa fil


+ 1
- 1
react/features/local-recording/middleware.js Visa fil

17
 declare var APP: Object;
17
 declare var APP: Object;
18
 declare var config: Object;
18
 declare var config: Object;
19
 
19
 
20
-const isFeatureEnabled = config.localRecording
20
+const isFeatureEnabled = typeof config === 'object' && config.localRecording
21
     && config.localRecording.enabled === true;
21
     && config.localRecording.enabled === true;
22
 
22
 
23
 isFeatureEnabled
23
 isFeatureEnabled

Laddar…
Avbryt
Spara