Explorar el Código

[RN] No upcoming-meeting notification in Picture-in-Picture

master
Lyubo Marinov hace 7 años
padre
commit
aba0912abf
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. 6
    4
      react/features/conference/components/Conference.native.js

+ 6
- 4
react/features/conference/components/Conference.native.js Ver fichero

@@ -339,14 +339,16 @@ class Conference extends Component<Props> {
339 339
     /**
340 340
      * Renders the conference notification badge if the feature is enabled.
341 341
      *
342
-     * Note: If the calendar feature is disabled on a platform, then we don't
343
-     * have its components exported so an undefined check is necessary.
344
-     *
345 342
      * @private
346 343
      * @returns {React$Node}
347 344
      */
348 345
     _renderConferenceNotification() {
349
-        return ConferenceNotification ? <ConferenceNotification /> : undefined;
346
+        // XXX If the calendar feature is disabled on a platform, then we don't
347
+        // have its components exported so an undefined check is necessary.
348
+        return (
349
+            !this.props._reducedUI && ConferenceNotification
350
+                ? <ConferenceNotification />
351
+                : undefined);
350 352
     }
351 353
 }
352 354
 

Loading…
Cancelar
Guardar