|
@@ -234,7 +234,9 @@ class Conference extends Component<Props> {
|
234
|
234
|
</View>
|
235
|
235
|
<TestConnectionInfo />
|
236
|
236
|
|
237
|
|
- <ConferenceNotification />
|
|
237
|
+ {
|
|
238
|
+ this._renderConferenceNotification()
|
|
239
|
+ }
|
238
|
240
|
|
239
|
241
|
{/*
|
240
|
242
|
* The dialogs are in the topmost stacking layers.
|
|
@@ -290,6 +292,21 @@ class Conference extends Component<Props> {
|
290
|
292
|
return this._backHandler && this.props._onHardwareBackPress();
|
291
|
293
|
}
|
292
|
294
|
|
|
295
|
+ /**
|
|
296
|
+ * Renders the conference notification badge if the feature is enabled.
|
|
297
|
+ *
|
|
298
|
+ * Note: If the calendar feature is disabled on a platform, then we don't
|
|
299
|
+ * have its components exported so an undefined check is necessary.
|
|
300
|
+ *
|
|
301
|
+ * @private
|
|
302
|
+ * @returns {React$Node}
|
|
303
|
+ */
|
|
304
|
+ _renderConferenceNotification() {
|
|
305
|
+ return ConferenceNotification
|
|
306
|
+ ? <ConferenceNotification />
|
|
307
|
+ : undefined;
|
|
308
|
+ }
|
|
309
|
+
|
293
|
310
|
/**
|
294
|
311
|
* Triggers the default Toolbox timeout.
|
295
|
312
|
*
|