diff --git a/src/components/quickReplyModal/quickReplyModalView.tsx b/src/components/quickReplyModal/quickReplyModalView.tsx index 48690bfff..c25e461f7 100644 --- a/src/components/quickReplyModal/quickReplyModalView.tsx +++ b/src/components/quickReplyModal/quickReplyModalView.tsx @@ -1,10 +1,7 @@ import React, { useImperativeHandle, useRef, useState } from 'react'; -import { View as AnimatedView } from 'react-native-animatable' import { forwardRef } from 'react'; -import { Portal } from 'react-native-portalize'; import { QuickReplyModalContent } from './quickReplyModalContent'; -import styles from './quickReplyModalStyles'; -import { KeyboardAvoidingView, Platform, View } from 'react-native'; +import { InputSupportModal } from '../organisms'; export interface QuickReplyModalProps { fetchPost?: any; @@ -30,44 +27,21 @@ const QuickReplyModal = ({ fetchPost }: QuickReplyModalProps, ref) => { setVisible(false); } - const _renderContent = () => ( - - ) return ( - - { - visible && ( - - {selectedPost && ( - <> - - { - Platform.select({ - ios: ( - - {_renderContent()} - - ), - android: {_renderContent()}, - }) - } + + + - - )} - - ) - } - ); };