Skip to content

Commit

Permalink
Merge 41f5e8c into 1424539
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-cortes authored Jul 26, 2022
2 parents 1424539 + 41f5e8c commit f3b5de5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-suns-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": minor
---

Fixed incorrect value for used space in Manager
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ const StorageRepartition = styled(Box)`
const DeviceAppStorage = ({
deviceModel,
deviceInfo,
distribution: { freeSpaceBytes, appsSpaceBytes, shouldWarnMemory, apps },
distribution: {
totalAppsBytes,
freeSpaceBytes,
appsSpaceBytes,
shouldWarnMemory,
apps,
},
}: Props) => {
const appSizes = useMemo(
() =>
Expand Down Expand Up @@ -68,7 +74,7 @@ const DeviceAppStorage = ({
<Trans i18nKey="manager.storage.used" />
</Text>{" "}
<ByteSize
value={appsSpaceBytes}
value={totalAppsBytes}
deviceModel={deviceModel}
firmwareVersion={deviceInfo.version}
/>
Expand Down

0 comments on commit f3b5de5

Please sign in to comment.