mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-17 20:22:55 +00:00
Cache size to string improved
This commit is contained in:
parent
44d5e17de8
commit
2c66a527d0
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ const cacheSizeToString = (size) => {
|
|||
size === 0 ?
|
||||
'No caching'
|
||||
:
|
||||
`${size / 1024 / 1024 / 1024}GiB`;
|
||||
`${Math.ceil(((size / 1024 / 1024 / 1024) + Number.EPSILON) * 100) / 100}GiB`;
|
||||
};
|
||||
|
||||
const TORRENT_PROFILES = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue