@placetime/corptime-conference 1.0.6 → 1.0.7
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
|
@@ -112,7 +112,7 @@ export function setReducedUI(width: number, height: number) {
|
|
|
112
112
|
const threshold = navigator.product === 'ReactNative'
|
|
113
113
|
? REDUCED_UI_THRESHOLD
|
|
114
114
|
: WEB_REDUCED_UI_THRESHOLD;
|
|
115
|
-
const reducedUI = Math.
|
|
115
|
+
const reducedUI = Math.max(width, height) < threshold;
|
|
116
116
|
|
|
117
117
|
if (reducedUI !== getState()['features/base/responsive-ui'].reducedUI) {
|
|
118
118
|
return dispatch({
|
package/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import { NavigationContainer } from '@react-navigation/native';
|
|
|
2
2
|
import { createStackNavigator } from '@react-navigation/stack';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
|
+
import i18next from 'i18next';
|
|
5
6
|
|
|
6
7
|
import { IReduxState } from '../../../../../app/types';
|
|
7
8
|
import LobbyChatScreen from '../../../../../lobby/components/native/LobbyChatScreen';
|
|
@@ -35,7 +36,7 @@ const LobbyNavigationContainer = () => {
|
|
|
35
36
|
<LobbyStack.Screen
|
|
36
37
|
component = { LobbyScreen }
|
|
37
38
|
name = { screen.lobby.main }
|
|
38
|
-
options = { lobbyScreenOptions } />
|
|
39
|
+
options = {{ ...lobbyScreenOptions, title: i18next.t('lobby.title') }} />
|
|
39
40
|
{
|
|
40
41
|
isLobbyChatActive
|
|
41
42
|
&& <LobbyStack.Screen
|
|
@@ -41,10 +41,11 @@ MiddlewareRegistry.register(store => next => action => {
|
|
|
41
41
|
const currentLockedState = store.getState()['features/base/conference'].locked;
|
|
42
42
|
|
|
43
43
|
if (currentLockedState === LOCKED_REMOTELY) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
// does not show info about password
|
|
45
|
+
// store.dispatch(
|
|
46
|
+
// showNotification({
|
|
47
|
+
// titleKey: 'notify.passwordSetRemotely'
|
|
48
|
+
// }, NOTIFICATION_TIMEOUT_TYPE.SHORT));
|
|
48
49
|
} else if (previousLockedState === LOCKED_REMOTELY && !currentLockedState) {
|
|
49
50
|
store.dispatch(
|
|
50
51
|
showNotification({
|