mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-20 03:27:46 +00:00
feat(mobile/navigation) updated screens that have footer
* feat(mobile/navigation) updated screens that have footer * feat(chat/native) reverted style change * feat(chat/native) reverted changes and added input vertical padding * feat(base/modal) replaced headerHeight with top safe area inset * feat(carmode/native) removed unused import and fixed linter * feat(chat/polls/native) reverted style changes * feat(base/modal) added isModalPresentation default prop * feat(base/modal) made isModalPresentation optional * feat(base/modal) headerHeight based on top notch devices * feat(polls) updated styles * feat(base/modal) updated comment
This commit is contained in:
@@ -37,6 +37,11 @@ type Props = {
|
||||
*/
|
||||
hasTabNavigator?: boolean,
|
||||
|
||||
/**
|
||||
* Is the screen presented as a modal?
|
||||
*/
|
||||
isModalPresentation?: boolean,
|
||||
|
||||
/**
|
||||
* Insets for the SafeAreaView.
|
||||
*/
|
||||
@@ -54,7 +59,8 @@ const JitsiScreen = ({
|
||||
footerComponent,
|
||||
hasTabNavigator = false,
|
||||
hasBottomTextInput = false,
|
||||
safeAreaInsets = [ 'bottom', 'left', 'right' ],
|
||||
isModalPresentation = true,
|
||||
safeAreaInsets = [ 'left', 'right' ],
|
||||
style
|
||||
}: Props) => (
|
||||
<View
|
||||
@@ -63,6 +69,7 @@ const JitsiScreen = ({
|
||||
contentContainerStyle = { contentContainerStyle }
|
||||
hasBottomTextInput = { hasBottomTextInput }
|
||||
hasTabNavigator = { hasTabNavigator }
|
||||
isModalPresentation = { isModalPresentation }
|
||||
style = { style }>
|
||||
<SafeAreaView
|
||||
edges = { safeAreaInsets }
|
||||
|
||||
Reference in New Issue
Block a user