diff options
author | Hailey <me@haileyok.com> | 2024-05-05 03:14:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 03:14:14 -0700 |
commit | 6b615f3720376da24b99624622b9dd5869d481aa (patch) | |
tree | 074b0d3c0eae7b0aceb145ce7be35b8aa2333833 /src/screens/Messages/Conversation/index.tsx | |
parent | c4160c25a315eab0113edf1ef1bde76a44d695c3 (diff) | |
download | voidsky-6b615f3720376da24b99624622b9dd5869d481aa.tar.zst |
only use `KeyboardProvider` in conversation screen (#3869)
Diffstat (limited to 'src/screens/Messages/Conversation/index.tsx')
-rw-r--r-- | src/screens/Messages/Conversation/index.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/screens/Messages/Conversation/index.tsx b/src/screens/Messages/Conversation/index.tsx index ae54c563e..db07ed2ed 100644 --- a/src/screens/Messages/Conversation/index.tsx +++ b/src/screens/Messages/Conversation/index.tsx @@ -1,5 +1,6 @@ import React, {useCallback} from 'react' import {TouchableOpacity, View} from 'react-native' +import {KeyboardProvider} from 'react-native-keyboard-controller' import {AppBskyActorDefs} from '@atproto/api' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {msg} from '@lingui/macro' @@ -61,10 +62,12 @@ function Inner() { } return ( - <CenteredView style={{flex: 1}} sideBorders> - <Header profile={otherProfile} /> - <MessagesList /> - </CenteredView> + <KeyboardProvider> + <CenteredView style={{flex: 1}} sideBorders> + <Header profile={otherProfile} /> + <MessagesList /> + </CenteredView> + </KeyboardProvider> ) } |