Move audio/video controls out to bottom of screen if on mobile

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-23 15:30:43 +01:00
parent ec8c347a23
commit 33ef7746a3
7 changed files with 299 additions and 96 deletions
+6
View File
@@ -2,6 +2,7 @@ const initialState =
{
id : null,
picture : null,
isMobile : false,
canSendMic : false,
canSendWebcam : false,
canShareScreen : false,
@@ -36,6 +37,11 @@ const me = (state = initialState, action) =>
};
}
case 'SET_IS_MOBILE':
{
return { ...state, isMobile: true };
}
case 'LOGGED_IN':
{
const { flag } = action.payload;