[ui] show size in GB
This commit is contained in:
parent
89e3565806
commit
3610eb77a6
@ -226,7 +226,7 @@ const App = () => {
|
|||||||
<div className="item-name">{item.name}</div>
|
<div className="item-name">{item.name}</div>
|
||||||
<div className="description">
|
<div className="description">
|
||||||
<span className="desc-text">{item.description.slice(0, 10)}</span>
|
<span className="desc-text">{item.description.slice(0, 10)}</span>
|
||||||
<span className="size-text">{item.size.toString()}</span>
|
<span className="size-text">{(item.size / 1024 / 1024 / 1024).toFixed(1)} GB</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="play-button"
|
<div className="play-button"
|
||||||
onClick={() => item.installed
|
onClick={() => item.installed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user