Browse Source

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

master
Lyubo Marinov 7 years ago
parent
commit
aba0912abf
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      react/features/conference/components/Conference.native.js

+ 6
- 4
react/features/conference/components/Conference.native.js View File

339
     /**
339
     /**
340
      * Renders the conference notification badge if the feature is enabled.
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
      * @private
342
      * @private
346
      * @returns {React$Node}
343
      * @returns {React$Node}
347
      */
344
      */
348
     _renderConferenceNotification() {
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…
Cancel
Save