diff options
Diffstat (limited to 'mobile')
| -rw-r--r-- | mobile/screens/Success.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile/screens/Success.js b/mobile/screens/Success.js index 3d66de5..e3b7c63 100644 --- a/mobile/screens/Success.js +++ b/mobile/screens/Success.js @@ -1,15 +1,15 @@ import React, { Component } from 'react'; -import {Text, Alert, AppRegistry, Button, StyleSheet, View } from 'react-native'; +import {Text, Alert, AppRegistry, Button, StyleSheet, View, BackHandler } from 'react-native'; + export default class Success extends Component { _onPressButton() { - exitApp() + BackHandler.exitApp() } render() { return ( - <View style={{padding: 40}}> <Text>Thanks for letting us know.</Text> |
