2023-02-14 09:50:46 +00:00
|
|
|
/* eslint-disable lines-around-comment */
|
2022-03-17 14:13:58 +00:00
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { SafeAreaView, Text, View } from 'react-native';
|
|
|
|
|
2023-02-14 09:50:46 +00:00
|
|
|
// @ts-ignore
|
2022-03-17 14:13:58 +00:00
|
|
|
import JitsiScreen from '../../../base/modal/components/JitsiScreen';
|
2023-02-14 09:50:46 +00:00
|
|
|
// @ts-ignore
|
|
|
|
import LoadingIndicator from '../../../base/react/components/native/LoadingIndicator';
|
2022-03-17 14:13:58 +00:00
|
|
|
|
2023-02-14 09:50:46 +00:00
|
|
|
// @ts-ignore
|
2022-09-27 07:10:28 +00:00
|
|
|
import { TEXT_COLOR, navigationStyles } from './styles';
|
2022-03-17 14:13:58 +00:00
|
|
|
|
2023-02-14 09:50:46 +00:00
|
|
|
|
2022-03-17 14:13:58 +00:00
|
|
|
const ConnectingPage = () => {
|
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<JitsiScreen style = { navigationStyles.connectingScreenContainer }>
|
|
|
|
<View style = { navigationStyles.connectingScreenContent }>
|
|
|
|
<SafeAreaView>
|
|
|
|
<LoadingIndicator
|
|
|
|
color = { TEXT_COLOR }
|
|
|
|
size = 'large'
|
|
|
|
style = { navigationStyles.connectingScreenIndicator } />
|
|
|
|
<Text style = { navigationStyles.connectingScreenText }>
|
|
|
|
{ t('connectingOverlay.joiningRoom') }
|
|
|
|
</Text>
|
|
|
|
</SafeAreaView>
|
|
|
|
</View>
|
|
|
|
</JitsiScreen>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ConnectingPage;
|