From aba0912abf11a524b042e1491fbed885c8d87056 Mon Sep 17 00:00:00 2001 From: Lyubo Marinov Date: Fri, 31 Aug 2018 15:09:49 -0500 Subject: [PATCH] [RN] No upcoming-meeting notification in Picture-in-Picture --- .../conference/components/Conference.native.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/Conference.native.js index fb7da1e90..ccf8ce961 100644 --- a/react/features/conference/components/Conference.native.js +++ b/react/features/conference/components/Conference.native.js @@ -339,14 +339,16 @@ class Conference extends Component { /** * Renders the conference notification badge if the feature is enabled. * - * Note: If the calendar feature is disabled on a platform, then we don't - * have its components exported so an undefined check is necessary. - * * @private * @returns {React$Node} */ _renderConferenceNotification() { - return ConferenceNotification ? : undefined; + // XXX If the calendar feature is disabled on a platform, then we don't + // have its components exported so an undefined check is necessary. + return ( + !this.props._reducedUI && ConferenceNotification + ? + : undefined); } }