mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 16:44:43 +01:00
improve downloads section
This commit is contained in:
@@ -21,7 +21,10 @@ export default class DownloadSection extends React.Component<IProps, never> {
|
||||
render() {
|
||||
return (
|
||||
<div className="DownloadSection">
|
||||
<span>{this.getFilenameFromPath()} - {this.props.downloadManager.getDownloadSize(this.props.downloadName)}</span>
|
||||
<div className="DownloadTitle">
|
||||
<div className="DownloadPath">{this.getFilenameFromPath()}</div>
|
||||
<div className="DownloadStatus"> - {this.props.downloadManager.getDownloadSize(this.props.downloadName)}</div>
|
||||
</div>
|
||||
<div className="DownloadSectionInner">
|
||||
<ProgressBar path={this.props.downloadName} downloadManager={this.props.downloadManager} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user