import React from 'react'; import { Modal } from 'modal/modal'; import { Line } from 'rc-progress'; import Link from 'component/link/index'; class ModalDownloading extends React.PureComponent { render() { const { downloadProgress, downloadComplete, startUpgrade, cancelUpgrade } = this.props; return ( {__('Downloading Update')} {downloadProgress ? `: ${downloadProgress}%` : null} {downloadComplete ? (

{__('Click "Begin Upgrade" to start the upgrade process.')}

{__( 'The app will close, and you will be prompted to install the latest version of LBRY.' )}

{__('After the install is complete, please reopen the app.')}

) : null}
{downloadComplete ? ( ) : null}
); } } export default ModalDownloading;