From b006fc435871587121856a891a813af72ec839dc Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Tue, 3 May 2022 14:17:00 -0400 Subject: [PATCH] Chore: evaluate `JitsiMeetView` (#4103) --- app/views/JitsiMeetView.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/views/JitsiMeetView.tsx b/app/views/JitsiMeetView.tsx index 151d6c4e5..59e716773 100644 --- a/app/views/JitsiMeetView.tsx +++ b/app/views/JitsiMeetView.tsx @@ -1,7 +1,5 @@ import React from 'react'; import { StyleSheet } from 'react-native'; -import { StackNavigationProp } from '@react-navigation/stack'; -import { RouteProp } from '@react-navigation/native'; import JitsiMeet, { JitsiMeetView as RNJitsiMeetView } from 'react-native-jitsi-meet'; import BackgroundTimer from 'react-native-background-timer'; import { connect } from 'react-redux'; @@ -10,9 +8,9 @@ import { getUserSelector } from '../selectors/login'; import ActivityIndicator from '../containers/ActivityIndicator'; import { events, logEvent } from '../utils/log'; import { isAndroid, isIOS } from '../utils/deviceInfo'; -import { TSupportedThemes, withTheme } from '../theme'; +import { withTheme } from '../theme'; import { InsideStackParamList } from '../stacks/types'; -import { IApplicationState, IUser } from '../definitions'; +import { IApplicationState, IUser, IBaseScreen } from '../definitions'; import { Services } from '../lib/services'; const formatUrl = (url: string, baseUrl: string, uriSize: number, avatarAuthURLFragment: string) => @@ -26,11 +24,8 @@ interface IJitsiMeetViewState { loading: boolean; } -interface IJitsiMeetViewProps { - navigation: StackNavigationProp; - route: RouteProp; +interface IJitsiMeetViewProps extends IBaseScreen { baseUrl: string; - theme: TSupportedThemes; user: IUser; }