Commit 2130fd2f authored by fro's avatar fro
Browse files

About screen added fixes #137

parent f5c47302
......@@ -55,6 +55,7 @@ import AccountNetworkChooser from './screens/AccountNetworkChooser';
import AccountRecover from './screens/AccountRecover';
import AccountBackup from './screens/AccountBackup';
import AccountPin from './screens/AccountPin';
import About from './screens/About';
import AccountDetails from './screens/AccountDetails';
import AccountEdit from './screens/AccountEdit';
import TxDetails from './screens/TxDetails';
......@@ -212,6 +213,9 @@ const Screens = createStackNavigator(
AccountAdd: {
screen: AccountAdd
},
About: {
screen: About
},
AccountNetworkChooser: {
screen: AccountNetworkChooser
},
......
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
'use strict';
import React from 'react';
import PropTypes from 'prop-types';
import {
Alert,
ScrollView,
View,
Text,
TouchableOpacity,
Share,
StyleSheet,
Linking
} from 'react-native';
import { Subscribe } from 'unstated';
import Icon from 'react-native-vector-icons/MaterialIcons';
import AccountsStore from '../stores/AccountsStore';
import Background from '../components/Background';
import AccountSeed from '../components/AccountSeed';
import AccountIconChooser from '../components/AccountIconChooser';
import TextInput from '../components/TextInput';
import TouchableItem from '../components/TouchableItem';
import colors from '../colors';
export default class About extends React.PureComponent {
static navigationOptions = {
title: 'About',
headerBackTitle: 'Back'
};
render() {
const { navigation } = this.props;
const isWelcome = navigation.getParam('isWelcome');
return (
<ScrollView style={styles.body} contentContainerStyle={{ padding: 20 }}>
<Text style={styles.title}>ABOUT</Text>
<View>
<Text style={styles.text}>
The Parity Signer mobile application is a secure air-gapped wallet
developed by Parity Technologies. It allows users to use a
smartphone as cold storage.
</Text>
<Text style={styles.text}>
Any data transfer from or to the App will happen using QR code
scanning. By doing so, the most sensitive piece of information, the
private keys, will never leave the phone. The Parity Signer mobile
app can be used to store any Ethereum account. This includes ETH,
ETC as well as Ether from various testnets (Kovan, Ropsten).
</Text>
This app does not send any data to Parity Technologies or any partner.
The app works entirely offline once installed.
<Text style={styles.text}>
The code of this application is available on Github (<Text
style={[styles.text, { textDecorationLine: 'underline' }]}
onPress={() =>
Linking.openURL('https://github.com/paritytech/parity-signer')
}
>
{'https://github.com/paritytech/parity-signer'}
</Text>) and licensed under GNU General Public License v3.0.
</Text>
<Text style={styles.text}>
The cryptographic library used by Parity Signer has been audited and
the report is available at
<Text
style={[styles.text, { textDecorationLine: 'underline' }]}
onPress={() =>
Linking.openURL(
'https://www.trailofbits.com/reports/parity.pdf'
)
}
>
{' https://www.trailofbits.com/reports/parity.pdf'}
</Text>. Although the most critical part of this app has been
audited, bear in mind that the entirety of this application hasn't.
</Text>
<Text style={styles.text}>
Find on the Parity Signer wiki more information about this
application as well as some tutorials:
<Text
style={[styles.text, { textDecorationLine: 'underline' }]}
onPress={() =>
Linking.openURL(
'https://wiki.parity.io/Parity-Signer-Mobile-App'
)
}
>
{' https://wiki.parity.io/Parity-Signer-Mobile-App'}
</Text>.
</Text>
</View>
</ScrollView>
);
}
}
const styles = StyleSheet.create({
body: {
flex: 1,
flexDirection: 'column',
overflow: 'hidden',
backgroundColor: colors.bg
},
top: {
flex: 1
},
bottom: {
flexBasis: 50,
paddingBottom: 15
},
titleTop: {
color: colors.bg_text_sec,
fontSize: 24,
fontFamily: 'Manifold CF',
fontWeight: 'bold',
paddingBottom: 20,
textAlign: 'center'
},
title: {
fontFamily: 'Manifold CF',
color: colors.bg_text_sec,
fontSize: 18,
fontWeight: 'bold',
paddingBottom: 20
},
text: {
marginBottom: 20,
fontFamily: 'Roboto',
fontSize: 14,
color: colors.card_bg
}
});
......@@ -98,8 +98,11 @@ class AccountAddView extends React.PureComponent {
Recover Account
</Text>
</TouchableItem>
<TouchableItem style={[styles.card, { marginTop: 20 }]}>
<Text style={styles.cardText}>About Accounts</Text>
<TouchableItem
style={[styles.card, { marginTop: 20 }]}
onPress={() => navigation.navigate('About')}
>
<Text style={styles.cardText}>About</Text>
</TouchableItem>
</ScrollView>
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment