File tree Expand file tree Collapse file tree 1 file changed +35
-16
lines changed Expand file tree Collapse file tree 1 file changed +35
-16
lines changed Original file line number Diff line number Diff line change @@ -66,33 +66,52 @@ export function BuildDetailsSidebarAppInfo(props: BuildDetailsSidebarAppInfoProp
6666 installSizeContent = (
6767 < Tooltip
6868 title = {
69- < Stack >
70- < Text size = "md" >
71- { t ( 'App' ) } : { formatBytesBase10 ( watchAppMetrics . install_size_bytes ) }
72- </ Text >
73- < Text size = "md" >
74- { t ( 'Watch app' ) } : { formatBytesBase10 ( watchAppMetrics . install_size_bytes ) }
75- </ Text >
69+ < Stack align = "start" >
70+ < Flex gap = "sm" >
71+ < Text size = "md" bold >
72+ { t ( 'App' ) } :
73+ </ Text >
74+ < Text size = "md" >
75+ { formatBytesBase10 ( primarySizeMetric ?. install_size_bytes ?? 0 ) }
76+ </ Text >
77+ </ Flex >
78+ < Flex gap = "sm" >
79+ < Text size = "md" bold >
80+ { t ( 'Watch app' ) } :
81+ </ Text >
82+ < Text size = "md" >
83+ { formatBytesBase10 ( watchAppMetrics . install_size_bytes ) }
84+ </ Text >
85+ </ Flex >
7686 </ Stack >
7787 }
7888 position = "left"
7989 >
8090 < Text size = "md" underline = "dotted" >
81- { formatBytesBase10 ( watchAppMetrics . install_size_bytes ) }
91+ { formatBytesBase10 ( primarySizeMetric ? .install_size_bytes ?? 0 ) }
8292 </ Text >
8393 </ Tooltip >
8494 ) ;
8595 downloadSizeContent = (
8696 < Tooltip
8797 title = {
88- < Stack >
89- < Text size = "md" >
90- { t ( 'App' ) } :{ ' ' }
91- { formatBytesBase10 ( primarySizeMetric ?. download_size_bytes ?? 0 ) }
92- </ Text >
93- < Text size = "md" >
94- { t ( 'Watch app' ) } : { formatBytesBase10 ( watchAppMetrics . download_size_bytes ) }
95- </ Text >
98+ < Stack align = "start" >
99+ < Flex gap = "sm" >
100+ < Text size = "md" bold >
101+ { t ( 'App' ) } :
102+ </ Text >
103+ < Text size = "md" >
104+ { formatBytesBase10 ( watchAppMetrics . download_size_bytes ) }
105+ </ Text >
106+ </ Flex >
107+ < Flex gap = "sm" >
108+ < Text size = "md" bold >
109+ { t ( 'Watch app' ) } :
110+ </ Text >
111+ < Text size = "md" >
112+ { formatBytesBase10 ( watchAppMetrics . download_size_bytes ) }
113+ </ Text >
114+ </ Flex >
96115 </ Stack >
97116 }
98117 position = "left"
You can’t perform that action at this time.
0 commit comments