[ui] show size in GB

This commit is contained in:
ddidderr 2024-11-15 12:10:02 +01:00
parent 89e3565806
commit 3610eb77a6
Signed by: ddidderr
GPG Key ID: 3841F1C27E6F0E14

View File

@ -226,7 +226,7 @@ const App = () => {
<div className="item-name">{item.name}</div>
<div className="description">
<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 className="play-button"
onClick={() => item.installed