import React from "react"; import { Modal } from "modal/modal"; import { Line } from "rc-progress"; import Link from "component/link/index"; const { ipcRenderer } = require("electron"); class ModalAutoUpdateDownloaded extends React.PureComponent { render() { const { closeModal, declineAutoUpdate } = this.props; return ( { ipcRenderer.send("autoUpdateAccepted"); }} onAborted={() => { declineAutoUpdate(); ipcRenderer.send("autoUpdateDeclined"); closeModal(); }} >

{__("LBRY Leveled Up")}

{__( 'A new version of LBRY has been released, downloaded, and is ready for you to use pending a restart.' )}

); } } export default ModalAutoUpdateDownloaded;