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
[RN] Wrap PagedList navigator with SafeAreaView
Bettenbuk Zoltan20c1b1cfae22
diff --git a/react/features/base/react/components/native/PagedList.js b/react/features/base/react/components/native/PagedList.jsindex d02b704606..53f12e1f77 100644--- a/react/features/base/react/components/native/PagedList.js+++ b/react/features/base/react/components/native/PagedList.js@@ -1,7 +1,7 @@// @flowimport React, { Component } from 'react';-import { Text, TouchableOpacity, View } from 'react-native';+import { SafeAreaView, Text, TouchableOpacity, View } from 'react-native';import { connect } from 'react-redux';import { Icon } from '../../../font-icons';@@ -215,13 +215,13 @@ class PagedList extends Component<Props, State> {{this._renderPage(pages[pageIndex], disabled)}- <View style = { styles.pageIndicatorContainer }>+ <SafeAreaView style = { styles.pageIndicatorContainer }>{pages.map((page, index) => this._renderPageIndicator(page, index, disabled))}- </View>+ </SafeAreaView></View>);}@@ -247,7 +247,7 @@ class PagedList extends Component<Props, State> {key = { index }onPress = { this._onSelectPage(index) }style = { styles.pageIndicator } >- <View style = { styles.pageIndicator }>+ <View style = { styles.pageIndicatorContent }><Iconname = { page.icon }style = { [diff --git a/react/features/base/react/components/native/styles.js b/react/features/base/react/components/native/styles.jsindex fac0ae3f8c..a098464698 100644--- a/react/features/base/react/components/native/styles.js+++ b/react/features/base/react/components/native/styles.js@@ -104,9 +104,9 @@ const PAGED_LIST_STYLES = {*/pageIndicator: {alignItems: 'center',- flex: 1,flexDirection: 'column',- justifyContent: 'center'+ justifyContent: 'center',+ padding: BoxModel.padding / 2},/**@@ -120,10 +120,15 @@ const PAGED_LIST_STYLES = {* Container for the page indicators (Android).*/pageIndicatorContainer: {- alignItems: 'stretch',+ alignItems: 'center',backgroundColor: ColorPalette.blue,flexDirection: 'row',- height: 56,+ justifyContent: 'space-around'+ },++ pageIndicatorContent: {+ alignItems: 'center',+ flexDirection: 'column',justifyContent: 'center'},