|
|
@@ -66,6 +66,13 @@ type Props = {
|
|
66
|
66
|
*/
|
|
67
|
67
|
_onHardwareBackPress: Function,
|
|
68
|
68
|
|
|
|
69
|
+ /**
|
|
|
70
|
+ * The indicator which determines if we are in reduced UI mode.
|
|
|
71
|
+ *
|
|
|
72
|
+ * @private
|
|
|
73
|
+ */
|
|
|
74
|
+ _reducedUI: boolean,
|
|
|
75
|
+
|
|
69
|
76
|
/**
|
|
70
|
77
|
* The handler which dispatches the (redux) action setToolboxVisible to
|
|
71
|
78
|
* show/hide the Toolbox.
|
|
|
@@ -192,8 +199,9 @@ class Conference extends Component<Props> {
|
|
192
|
199
|
|
|
193
|
200
|
{/*
|
|
194
|
201
|
* If there is a ringing call, show the callee's info.
|
|
195
|
|
- */}
|
|
196
|
|
- <CalleeInfoContainer />
|
|
|
202
|
+ */
|
|
|
203
|
+ !this.props._reducedUI && <CalleeInfoContainer />
|
|
|
204
|
+ }
|
|
197
|
205
|
|
|
198
|
206
|
{/*
|
|
199
|
207
|
* The activity/loading indicator goes above everything, except
|
|
|
@@ -223,8 +231,9 @@ class Conference extends Component<Props> {
|
|
223
|
231
|
|
|
224
|
232
|
{/*
|
|
225
|
233
|
* The dialogs are in the topmost stacking layers.
|
|
226
|
|
- */}
|
|
227
|
|
- <DialogContainer />
|
|
|
234
|
+ */
|
|
|
235
|
+ !this.props._reducedUI && <DialogContainer />
|
|
|
236
|
+ }
|
|
228
|
237
|
</Container>
|
|
229
|
238
|
);
|
|
230
|
239
|
}
|
|
|
@@ -367,6 +376,7 @@ function _mapDispatchToProps(dispatch) {
|
|
367
|
376
|
function _mapStateToProps(state) {
|
|
368
|
377
|
const { connecting, connection } = state['features/base/connection'];
|
|
369
|
378
|
const { conference, joining, leaving } = state['features/base/conference'];
|
|
|
379
|
+ const { reducedUI } = state['features/base/responsive-ui'];
|
|
370
|
380
|
|
|
371
|
381
|
// XXX There is a window of time between the successful establishment of the
|
|
372
|
382
|
// XMPP connection and the subsequent commencement of joining the MUC during
|
|
|
@@ -392,6 +402,14 @@ function _mapStateToProps(state) {
|
|
392
|
402
|
*/
|
|
393
|
403
|
_connecting: Boolean(connecting_),
|
|
394
|
404
|
|
|
|
405
|
+ /**
|
|
|
406
|
+ * The indicator which determines if we are in reduced UI mode.
|
|
|
407
|
+ *
|
|
|
408
|
+ * @private
|
|
|
409
|
+ * @type {boolean}
|
|
|
410
|
+ */
|
|
|
411
|
+ _reducedUI: reducedUI,
|
|
|
412
|
+
|
|
395
|
413
|
/**
|
|
396
|
414
|
* The indicator which determines whether the Toolbox is visible.
|
|
397
|
415
|
*
|