File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
package/src/components/MessageInput Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -895,21 +895,23 @@ const MessageInputWithContext = <
895895 </ View >
896896 ) }
897897 { showPollCreationDialog ? (
898- < Modal
899- animationType = 'slide'
900- onRequestClose = { closePollCreationDialog }
901- visible = { showPollCreationDialog }
902- >
903- < GestureHandlerRootView style = { { flex : 1 } } >
904- < SafeAreaView style = { { backgroundColor : white , flex : 1 } } >
905- < CreatePoll
906- closePollCreationDialog = { closePollCreationDialog }
907- CreatePollContent = { CreatePollContent }
908- sendMessage = { sendMessage }
909- />
910- </ SafeAreaView >
911- </ GestureHandlerRootView >
912- </ Modal >
898+ < View style = { { alignItems : 'center' , flex : 1 , justifyContent : 'center' } } >
899+ < Modal
900+ animationType = 'slide'
901+ onRequestClose = { closePollCreationDialog }
902+ visible = { showPollCreationDialog }
903+ >
904+ < GestureHandlerRootView style = { { flex : 1 } } >
905+ < SafeAreaView style = { { backgroundColor : white , flex : 1 } } >
906+ < CreatePoll
907+ closePollCreationDialog = { closePollCreationDialog }
908+ CreatePollContent = { CreatePollContent }
909+ sendMessage = { sendMessage }
910+ />
911+ </ SafeAreaView >
912+ </ GestureHandlerRootView >
913+ </ Modal >
914+ </ View >
913915 ) : null }
914916 </ >
915917 ) ;
You can’t perform that action at this time.
0 commit comments