From 85b78edc1d05eb4d2a90fdf94cd3f53d9753aaba Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Mon, 12 Jul 2021 14:12:46 -0700 Subject: [PATCH] Make button visible in WorkspaceInvitePage --- src/pages/workspace/WorkspaceInvitePage.js | 96 +++++++++++----------- 1 file changed, 50 insertions(+), 46 deletions(-) diff --git a/src/pages/workspace/WorkspaceInvitePage.js b/src/pages/workspace/WorkspaceInvitePage.js index 0fbf26c490fa..8a6e47a66203 100644 --- a/src/pages/workspace/WorkspaceInvitePage.js +++ b/src/pages/workspace/WorkspaceInvitePage.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import {TextInput, View} from 'react-native'; +import {ScrollView, TextInput, View} from 'react-native'; import {withOnyx} from 'react-native-onyx'; import Str from 'expensify-common/lib/str'; import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize'; @@ -17,6 +17,8 @@ import TextLink from '../../components/TextLink'; import getEmailKeyboardType from '../../libs/getEmailKeyboardType'; import themeColors from '../../styles/themes/default'; import Growl from '../../libs/Growl'; +import KeyboardAvoidingView from '../../components/KeyboardAvoidingView'; +import FixedFooter from '../../components/FixedFooter'; const propTypes = { ...withLocalizePropTypes, @@ -83,51 +85,53 @@ class WorkspaceInvitePage extends React.Component { render() { return ( - - - - - {this.props.translate('workspace.invite.invitePeoplePrompt')} - - - - {this.props.translate('workspace.invite.enterEmailOrPhone')} + + + + + + {this.props.translate('workspace.invite.invitePeoplePrompt')} - this.setState({emailOrPhone: text})} - /> + + + {this.props.translate('workspace.invite.enterEmailOrPhone')} + + this.setState({emailOrPhone: text})} + /> + + + + {this.props.translate('workspace.invite.personalMessagePrompt')} + + this.setState({welcomeNote: text})} + /> + + {this.props.translate('common.privacy')} + + - - - {this.props.translate('workspace.invite.personalMessagePrompt')} - - this.setState({welcomeNote: text})} - /> - - {this.props.translate('common.privacy')} - - - - + +