From adef17b12e3a8e4be8d26cc29adbe61d7df6bfdd Mon Sep 17 00:00:00 2001 From: henrydays Date: Wed, 13 Mar 2019 00:36:42 +0000 Subject: [PATCH] =?UTF-8?q?reset=20em=20condi=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/app/App.js | 18 +++++++------- App/app/store/actions/actionTypes.js | 2 +- App/app/store/actions/api.js | 36 +++++++++++++++++++++++++++- App/app/store/actions/index.js | 3 ++- App/package-lock.json | 5 ++++ App/package.json | 1 + 6 files changed, 54 insertions(+), 11 deletions(-) diff --git a/App/app/App.js b/App/app/App.js index f55f2fe2..33efa9f0 100755 --- a/App/app/App.js +++ b/App/app/App.js @@ -135,6 +135,7 @@ class App extends Component { //faz call _reset=()=>{ //fecha modal + this.props.resetPassword(this.props.userDetails.token,this.state.resetText), this.setState({modalResetPassword:false}) //faz call } @@ -193,12 +194,12 @@ class App extends Component { /> - @@ -207,15 +208,15 @@ class App extends Component { this.setState({ resetText })} + + onChangeText={r => this.setState({ resetText:r })} clearButtonMode="always" value={this.state.resetText} clearTextOnFocus={true} onSubmitEditing={Keyboard.dismiss} - placeholder="geral@enei.pt" + placeholder="Email ou Qr code" />