|
@@ -10,6 +10,7 @@ import {
|
10
|
10
|
CONFERENCE_WILL_JOIN,
|
11
|
11
|
SET_AUDIO_ONLY
|
12
|
12
|
} from '../../base/conference';
|
|
13
|
+import { HIDE_DIALOG } from '../../base/dialog';
|
13
|
14
|
import { Platform } from '../../base/react';
|
14
|
15
|
import { MiddlewareRegistry } from '../../base/redux';
|
15
|
16
|
|
|
@@ -52,6 +53,14 @@ MiddlewareRegistry.register(store => next => action => {
|
52
|
53
|
fullScreen = false;
|
53
|
54
|
break;
|
54
|
55
|
|
|
56
|
+ case HIDE_DIALOG: {
|
|
57
|
+ const { audioOnly, conference }
|
|
58
|
+ = store.getState()['features/base/conference'];
|
|
59
|
+
|
|
60
|
+ fullScreen = conference ? !audioOnly : false;
|
|
61
|
+ break;
|
|
62
|
+ }
|
|
63
|
+
|
55
|
64
|
case SET_AUDIO_ONLY:
|
56
|
65
|
fullScreen = !action.audioOnly;
|
57
|
66
|
break;
|