Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/mobile/src/screens/chat-screen/ChatListScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useEffect } from 'react'

import { chatActions, chatSelectors, Status } from '@audius/common'
import { View, Text } from 'react-native'
import { TouchableWithoutFeedback } from 'react-native-gesture-handler'
import { useDispatch, useSelector } from 'react-redux'

import IconCompose from 'app/assets/images/iconCompose.svg'
Expand Down Expand Up @@ -119,10 +120,9 @@ export const ChatListScreen = () => {

const navigateToChatUserList = () => navigation.navigate('ChatUserList')
const iconCompose = (
<IconCompose
fill={palette.neutralLight4}
onPress={navigateToChatUserList}
/>
<TouchableWithoutFeedback onPress={navigateToChatUserList}>
<IconCompose fill={palette.neutralLight4} />
</TouchableWithoutFeedback>
)

return (
Expand Down
18 changes: 9 additions & 9 deletions packages/mobile/src/screens/chat-screen/ChatTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useCallback, useState } from 'react'

import { chatActions } from '@audius/common'
import { Platform } from 'react-native'
import { TouchableWithoutFeedback } from 'react-native-gesture-handler'
import { useDispatch } from 'react-redux'

import IconSend from 'app/assets/images/iconSend.svg'
Expand Down Expand Up @@ -62,15 +63,14 @@ export const ChatTextInput = ({ chatId }: ChatTextInputProps) => {
<TextInput
placeholder={messages.startNewMessage}
Icon={() => (
<IconSend
width={styles.icon.width}
height={styles.icon.height}
opacity={inputMessage ? ICON_FOCUS : ICON_BLUR}
fill={styles.icon.fill}
onPress={() => {
handleSubmit(inputMessage)
}}
/>
<TouchableWithoutFeedback onPress={() => handleSubmit(inputMessage)}>
<IconSend
width={styles.icon.width}
height={styles.icon.height}
opacity={inputMessage ? ICON_FOCUS : ICON_BLUR}
fill={styles.icon.fill}
/>
</TouchableWithoutFeedback>
)}
styles={{
root: styles.composeTextContainer,
Expand Down