diff --git a/src/chat/ChatScreen.js b/src/chat/ChatScreen.js index c4b16876b2a..d0ce623dd35 100644 --- a/src/chat/ChatScreen.js +++ b/src/chat/ChatScreen.js @@ -2,6 +2,7 @@ import React, { useCallback, useContext } from 'react'; import type { Node } from 'react'; import { useIsFocused } from '@react-navigation/native'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { useSelector, useDispatch } from '../react-redux'; import type { RouteProp } from '../react-navigation'; @@ -196,7 +197,24 @@ export default function ChatScreen(props: Props): Node { ); return ( - + {(() => {