diff options
Diffstat (limited to 'src/components/messages')
-rw-r--r-- | src/components/messages/ChatInput.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/messages/ChatInput.tsx b/src/components/messages/ChatInput.tsx index bde5fc12..a4ed675b 100644 --- a/src/components/messages/ChatInput.tsx +++ b/src/components/messages/ChatInput.tsx @@ -1,6 +1,5 @@ import React from 'react'; import {Image, StyleSheet, View} from 'react-native'; -import {TouchableOpacity} from 'react-native-gesture-handler'; import {useStore} from 'react-redux'; import { AutoCompleteInput, @@ -33,7 +32,7 @@ const ChatInput: React.FC< > = () => { const state: RootState = useStore().getState(); const avatar = state.user.avatar; - const {sendMessage, text, setText} = useMessageInputContext(); + const {sendMessage, text} = useMessageInputContext(); // const { // setSelectedImages, // selectedImages, @@ -84,12 +83,12 @@ const ChatInput: React.FC< source={require('../../assets/images/camera.png')} /> </TouchableOpacity> */} - <TouchableOpacity onPress={() => setText('/')}> + {/* <TouchableOpacity onPress={() => setText('/')}> <Image style={{width: normalize(23), height: normalize(23)}} source={require('../../assets/images/gif.png')} /> - </TouchableOpacity> + </TouchableOpacity> */} <ChatInputSubmit onPress={sendMessage} outlined={text.length === 0} /> </View> </View> @@ -135,7 +134,8 @@ const styles = StyleSheet.create({ justifyContent: 'space-evenly', alignItems: 'center', marginRight: 10, - width: 100, + width: 50, + // width: 100, alignSelf: 'flex-end', }, }); |