File tree Expand file tree Collapse file tree
apps/mobile/src/features/usage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -546,13 +546,20 @@ function ChartCard(props: {
546546 </ View >
547547 ) }
548548
549- < View className = "flex-row items-center justify-between" >
550- < Text className = "text-xs text-foreground-tertiary" >
551- { props . isPast24Hours
552- ? formatHourShort ( props . days [ 0 ] ?? "" , props . timeZone )
553- : formatDayShort ( props . sinceDay ) }
554- </ Text >
555- < View className = "flex-row items-center gap-4" >
549+ < View className = "gap-2" >
550+ < View className = "flex-row items-center justify-between" >
551+ < Text className = "text-xs text-foreground-tertiary" >
552+ { props . isPast24Hours
553+ ? formatHourShort ( props . days [ 0 ] ?? "" , props . timeZone )
554+ : formatDayShort ( props . sinceDay ) }
555+ </ Text >
556+ < Text className = "text-xs text-foreground-tertiary" >
557+ { props . isPast24Hours
558+ ? formatHourShort ( props . days [ props . days . length - 1 ] ?? "" , props . timeZone )
559+ : formatDayShort ( props . untilDay ) }
560+ </ Text >
561+ </ View >
562+ < View className = "flex-row flex-wrap items-center gap-x-4 gap-y-1" >
556563 { merged . providers . map ( ( provider ) => (
557564 < View key = { provider . provider } className = "flex-row items-center gap-1.5" >
558565 < View
@@ -565,11 +572,6 @@ function ChartCard(props: {
565572 </ View >
566573 ) ) }
567574 </ View >
568- < Text className = "text-xs text-foreground-tertiary" >
569- { props . isPast24Hours
570- ? formatHourShort ( props . days [ props . days . length - 1 ] ?? "" , props . timeZone )
571- : formatDayShort ( props . untilDay ) }
572- </ Text >
573575 </ View >
574576 </ View >
575577 ) ;
You can’t perform that action at this time.
0 commit comments