diff --git a/src/pages/RequestCallPage.js b/src/pages/RequestCallPage.js index 3b491d6f4821..5a1ea5eb0e55 100644 --- a/src/pages/RequestCallPage.js +++ b/src/pages/RequestCallPage.js @@ -1,5 +1,5 @@ import React, {Component} from 'react'; -import {View, TextInput} from 'react-native'; +import {ScrollView, TextInput} from 'react-native'; import _ from 'underscore'; import {withOnyx} from 'react-native-onyx'; import PropTypes from 'prop-types'; @@ -20,6 +20,7 @@ import {requestConciergeDMCall} from '../libs/actions/Inbox'; import {fetchOrCreateChatReport} from '../libs/actions/Report'; import personalDetailsPropType from './personalDetailsPropType'; import Text from '../components/Text'; +import KeyboardAvoidingView from '../components/KeyboardAvoidingView'; const propTypes = { ...withLocalizePropTypes, @@ -143,54 +144,56 @@ class RequestCallPage extends Component { const isButtonDisabled = false; return ( - fetchOrCreateChatReport([ - this.props.session.email, - CONST.EMAIL.CONCIERGE, - ], true)} - onCloseButtonPress={() => Navigation.dismissModal(true)} - /> - - - {this.props.translate('requestCallPage.description')} - - - {this.props.translate('requestCallPage.instructions')} - - this.setState({firstName})} - onChangeLastName={lastName => this.setState({lastName})} - style={[styles.mt4, styles.mb4]} + + fetchOrCreateChatReport([ + this.props.session.email, + CONST.EMAIL.CONCIERGE, + ], true)} + onCloseButtonPress={() => Navigation.dismissModal(true)} /> - - {this.props.translate('common.phoneNumber')} - - this.setState({phoneNumber})} - /> - - {this.props.translate('requestCallPage.availabilityText')} - - - -