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 @@ -894,21 +894,23 @@ const MessageInputWithContext = <
894894 </ View >
895895 ) }
896896 { showPollCreationDialog ? (
897- < Modal
898- animationType = 'slide'
899- onRequestClose = { closePollCreationDialog }
900- visible = { showPollCreationDialog }
901- >
902- < GestureHandlerRootView style = { { flex : 1 } } >
903- < SafeAreaView style = { { backgroundColor : white , flex : 1 } } >
904- < CreatePoll
905- closePollCreationDialog = { closePollCreationDialog }
906- CreatePollContent = { CreatePollContent }
907- sendMessage = { sendMessage }
908- />
909- </ SafeAreaView >
910- </ GestureHandlerRootView >
911- </ Modal >
897+ < View style = { { alignItems : 'center' , flex : 1 , justifyContent : 'center' } } >
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 >
913+ </ View >
912914 ) : null }
913915 </ >
914916 ) ;
You can’t perform that action at this time.
0 commit comments