mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 18:27:48 +00:00
* feat(visitors): Handling of live conference and queue service. * squash: Small refactor mobile code. * squash: Drop debug log. * chore(deps) lib-jitsi-meet@latest https://github.com/jitsi/lib-jitsi-meet/compare/v1836.0.0+d05325f3...v1839.0.0+ea523fc6 * squash: Adds a count function. * squash: Drop debug print. * squash: Skip if queueService is not enabled. * squash: Avoids double subscribing for visitorsWaiting. * squash: Fixes lint error. * squash: Fixes showing dialog.
28 lines
863 B
TypeScript
28 lines
863 B
TypeScript
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { Text, View } from 'react-native';
|
|
|
|
import LoadingIndicator from '../../../base/react/components/native/LoadingIndicator';
|
|
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
|
|
import styles from '../../../lobby/components/native/styles';
|
|
|
|
/**
|
|
* The component that renders visitors queue UI.
|
|
*
|
|
* @returns {ReactElement}
|
|
*/
|
|
export default function VisitorsQueue() {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<View style = { styles.lobbyWaitingFragmentContainer }>
|
|
<Text style = { styles.lobbyTitle }>
|
|
{ t('visitors.waitingMessage') }
|
|
</Text>
|
|
<LoadingIndicator
|
|
color = { BaseTheme.palette.icon01 }
|
|
style = { styles.loadingIndicator } />
|
|
</View>
|
|
);
|
|
}
|