fix(ui): missing userDeviceMemorySize in plyer performance tab
This commit is contained in:
parent
b6bebf3b78
commit
4762f37414
1 changed files with 2 additions and 1 deletions
|
|
@ -225,6 +225,7 @@ export const MobilePerformance = observer(() => {
|
|||
const { player, store } = React.useContext(MobilePlayerContext);
|
||||
const [_timeTicks, setTicks] = React.useState<number[]>([])
|
||||
const [_data, setData] = React.useState<any[]>([])
|
||||
const { sessionStore } = useStore();
|
||||
|
||||
const {
|
||||
performanceChartTime = 0,
|
||||
|
|
@ -270,7 +271,7 @@ export const MobilePerformance = observer(() => {
|
|||
<InfoLine>
|
||||
<InfoLine.Point
|
||||
label="Device Memory Size"
|
||||
value={formatBytes(userDeviceMemorySize * 1024)}
|
||||
value={formatBytes(sessionStore.current.userDeviceMemorySize * 1024)}
|
||||
display={true}
|
||||
/>
|
||||
</InfoLine>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue