#28: Fix Linux upgrade
This commit is contained in:
@@ -7,12 +7,14 @@ const mapStateToProps = state => {
|
||||
return {
|
||||
DownloadName: state.download.DownloadName,
|
||||
DownloadProgress: state.download.DownloadProgress,
|
||||
Platform: state.common.Platform,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(props => {
|
||||
const width = props.Platform === 'linux' ? '480px' : '380px';
|
||||
return (
|
||||
<Box dxStyle={{width: '380px', height: 'auto', padding: '5px'}}>
|
||||
<Box dxStyle={{width: width, height: 'auto', padding: '5px'}}>
|
||||
<div style={{width: '100%', height: 'auto'}}>
|
||||
<h1 style={{width: '100%', textAlign: 'center'}}>{'Downloading ' + props.DownloadName}</h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user