diff --git a/app/components/GenerateKeysModal.js b/app/components/GenerateKeysModal.js index 0f18518..1f916cf 100644 --- a/app/components/GenerateKeysModal.js +++ b/app/components/GenerateKeysModal.js @@ -1,71 +1,71 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import autoBind from 'auto-bind'; import { View } from 'react-native'; import { Dialog, Portal, Text, Button, Surface} from 'react-native-paper'; import KeyboardAwareDialog from './KeyBoardAwareDialog'; import styles from '../assets/styles/blink/_GenerateKeysModal.scss'; const DialogType = Platform.OS === 'ios' ? KeyboardAwareDialog : Dialog; class GenerateKeysModal extends Component { constructor(props) { super(props); autoBind(this); this.state = { show: this.props.show } } UNSAFE_componentWillReceiveProps(nextProps) { this.setState({show: nextProps.show }); } generateKeys(event) { event.preventDefault(); this.props.generateKeysFunc(); } render() { return ( Generate private key - You should generate a new private key in case you lost one of your devices. + You should only generate a new private key in specific cases, for example when new versions of software require it. - Once you generate a new key, new messages cannot be read on + Once you generate a new key, new incoming messages cannot be read on other devices until the new key is exported. ); } } GenerateKeysModal.propTypes = { show : PropTypes.bool, close : PropTypes.func.isRequired, generateKeysFunc : PropTypes.func.isRequired }; export default GenerateKeysModal;