Parcourir la source

Fix issue on mobile platforms

master
Radium Zheng il y a 7 ans
Parent
révision
49bdd53bee

+ 0
- 0
react/features/local-recording/components/LocalRecordingLabel.native.js Voir le fichier


react/features/local-recording/components/LocalRecordingLabel.js → react/features/local-recording/components/LocalRecordingLabel.web.js Voir le fichier


+ 1
- 1
react/features/local-recording/middleware.js Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer