diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/chat/ChatResultsCell.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/chat/ChatResultsCell.tsx b/src/screens/chat/ChatResultsCell.tsx index d947c122..e1eb97dd 100644 --- a/src/screens/chat/ChatResultsCell.tsx +++ b/src/screens/chat/ChatResultsCell.tsx @@ -12,7 +12,7 @@ import {defaultUserProfile} from '../../utils/users'; interface ChatResults { profileData: ProfilePreviewType; loggedInUser: UserType; - setChatModalVisible: Function; + setChatModalVisible: (open: boolean) => void; } const ChatResultsCell: React.FC<ChatResults> = ({ @@ -47,7 +47,7 @@ const ChatResultsCell: React.FC<ChatResults> = ({ setChannel(channel); setTimeout(() => { navigation.navigate('Chat'); - }, 100); + }, 250); } catch (error) { Alert.alert(ERROR_FAILED_TO_CREATE_CHANNEL); } |