Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(rn,conference) show invite button on the top navbar
Saúl Ibarra Corretgé0833f8c86771
diff --git a/react/features/conference/components/native/NavigationBar.js b/react/features/conference/components/native/NavigationBar.jsindex 8c4b84803d..bb36926cd9 100644--- a/react/features/conference/components/native/NavigationBar.js+++ b/react/features/conference/components/native/NavigationBar.js@@ -6,6 +6,7 @@ import { Text, View } from 'react-native';import { getConferenceName } from '../../../base/conference';import { getFeatureFlag, CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED } from '../../../base/flags';import { connect } from '../../../base/redux';+import InviteButton from '../../../invite/components/add-people-dialog/native/InviteButton';import { PictureInPictureButton } from '../../../mobile/picture-in-picture';import { isToolboxVisible } from '../../../toolbox/functions.native';import ConferenceTimer from '../ConferenceTimer';@@ -54,8 +55,7 @@ const NavigationBar = (props: Props) => {pointerEvents = 'box-none'style = { styles.navBarWrapper }><View style = { styles.pipButtonContainer }>- <PictureInPictureButton- styles = { styles.pipButton } />+ <PictureInPictureButton styles = { styles.pipButton } /></View><ViewpointerEvents = 'box-none'@@ -78,6 +78,9 @@ const NavigationBar = (props: Props) => {}<Labels /></View>+ <View style = { styles.inviteButtonContainer }>+ <InviteButton styles = { styles.inviteButton } />+ </View></View>);};diff --git a/react/features/conference/components/native/styles.js b/react/features/conference/components/native/styles.jsindex e1811fdb94..7e3f030a49 100644--- a/react/features/conference/components/native/styles.js+++ b/react/features/conference/components/native/styles.js@@ -3,6 +3,8 @@ import { BoxModel, ColorPalette, fixAndroidViewClipping } from '../../../base/stexport const INSECURE_ROOM_NAME_LABEL_COLOR = ColorPalette.warning;+const NAVBAR_BUTTON_SIZE = 24;+/*** The styles of the feature conference.*/@@ -29,6 +31,22 @@ export default {flexDirection: 'row'},+ inviteButtonContainer: {+ paddingHorizontal: 10,+ paddingVertical: 10,+ position: 'absolute',+ top: 0,+ right: 0,+ zIndex: 1+ },++ inviteButton: {+ iconStyle: {+ color: ColorPalette.white,+ fontSize: NAVBAR_BUTTON_SIZE+ },+ underlayColor: 'transparent'+ },lonelyButton: {alignItems: 'center',@@ -54,16 +72,18 @@ export default {},pipButtonContainer: {+ paddingHorizontal: 10,+ paddingVertical: 10,position: 'absolute',- top: 10,- left: 5,+ top: 0,+ left: 0,zIndex: 1},pipButton: {iconStyle: {color: ColorPalette.white,- fontSize: 24+ fontSize: NAVBAR_BUTTON_SIZE},underlayColor: 'transparent'},@@ -117,7 +137,8 @@ export default {},roomNameWrapper: {- flexDirection: 'row'+ flexDirection: 'row',+ marginHorizontal: 35},/**