@placetime/corptime-conference 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placetime/corptime-conference",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "React Native SDK from Corptime-Conference",
5
5
  "main": "index.tsx",
6
6
  "license": "Apache-2.0",
@@ -8,7 +8,7 @@ const recipientContainer = {
8
8
  backgroundColor: BaseTheme.palette.support05,
9
9
  borderRadius: BaseTheme.shape.borderRadius,
10
10
  flexDirection: 'row',
11
- height: 48,
11
+ minHeight: 48,
12
12
  marginBottom: BaseTheme.spacing[3],
13
13
  marginHorizontal: BaseTheme.spacing[3],
14
14
  padding: BaseTheme.spacing[2]
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { BackHandler, Text, TextStyle, View, ViewStyle } from 'react-native';
3
3
  import { connect } from 'react-redux';
4
+ import { ScrollView } from 'react-native-gesture-handler';
4
5
  import { appNavigate } from '../../../app/actions.native';
5
6
 
6
7
  import { IReduxState } from '../../../app/types';
@@ -91,7 +92,7 @@ class LobbyScreen extends AbstractLobbyScreen<IProps> {
91
92
  const isTablet = Math.min(_clientWidth, _clientHeight) >= 768;
92
93
 
93
94
  let contentContainerStyles = preJoinStyles.lobbyContentContainer;
94
- let largeVideoContainerStyles = preJoinStyles.largeVideoContainer;
95
+ let largeVideoContainerStyles = preJoinStyles.lobbyLargeVideoContainer;
95
96
 
96
97
  if (isTablet && _aspectRatio === ASPECT_RATIO_WIDE) {
97
98
  // @ts-ignore
@@ -105,23 +106,25 @@ class LobbyScreen extends AbstractLobbyScreen<IProps> {
105
106
  addBottomPadding = { false }
106
107
  safeAreaInsets = { [ 'right' ] }
107
108
  style = { preJoinStyles.contentWrapper }>
108
- <BrandingImageBackground />
109
- <View style = { largeVideoContainerStyles as ViewStyle }>
110
- <View style = { preJoinStyles.conferenceInfo as ViewStyle }>
111
- <View style = { preJoinStyles.displayRoomNameBackdrop }>
112
- <Text
113
- numberOfLines = { 1 }
114
- style = { preJoinStyles.preJoinRoomName }>
115
- { _roomName }
116
- </Text>
109
+ <ScrollView style={{ flex: 1 }}>
110
+ <BrandingImageBackground />
111
+ <View style = { largeVideoContainerStyles as ViewStyle }>
112
+ <View style = { preJoinStyles.conferenceInfo as ViewStyle }>
113
+ <View style = { preJoinStyles.displayRoomNameBackdrop }>
114
+ <Text
115
+ numberOfLines = { 1 }
116
+ style = { preJoinStyles.preJoinRoomName }>
117
+ { _roomName }
118
+ </Text>
119
+ </View>
117
120
  </View>
121
+ <LargeVideo />
118
122
  </View>
119
- <LargeVideo />
120
- </View>
121
- <View style = { contentContainerStyles as ViewStyle }>
122
- { this._renderToolbarButtons() }
123
- { this._renderContent() }
124
- </View>
123
+ <View style = { contentContainerStyles as ViewStyle }>
124
+ { this._renderToolbarButtons() }
125
+ { this._renderContent() }
126
+ </View>
127
+ </ScrollView>
125
128
  </JitsiScreen>
126
129
  );
127
130
  }
@@ -42,7 +42,7 @@ const LobbyNavigationContainer = () => {
42
42
  && <LobbyStack.Screen
43
43
  component = { LobbyChatScreen }
44
44
  name = { screen.lobby.chat }
45
- options = { lobbyChatScreenOptions } />
45
+ options = {{ ...lobbyChatScreenOptions, title: i18next.t('lobby.chat') }} />
46
46
  }
47
47
  </LobbyStack.Navigator>
48
48
  </NavigationContainer>
@@ -31,6 +31,10 @@ export const preJoinStyles = {
31
31
  height: '50%'
32
32
  },
33
33
 
34
+ lobbyLargeVideoContainer: {
35
+ height: 300
36
+ },
37
+
34
38
  largeVideoContainerWide: {
35
39
  height: '100%',
36
40
  marginRight: 'auto',