37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
/* eslint-disable lines-around-comment */
|
|
|
|
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { SafeAreaView, Text, View } from 'react-native';
|
|
|
|
// @ts-ignore
|
|
import JitsiScreen from '../../../base/modal/components/JitsiScreen';
|
|
// @ts-ignore
|
|
import LoadingIndicator from '../../../base/react/components/native/LoadingIndicator';
|
|
|
|
// @ts-ignore
|
|
import { TEXT_COLOR, navigationStyles } from './styles';
|
|
|
|
|
|
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;
|