@@ -135,6 +135,7 @@ private extension TotalsView {
135135 Spacer ( ) . frame ( height: Constants . totalVerticalSpacing)
136136 Divider ( )
137137 . overlay ( Constants . separatorColor)
138+ . renderedIf ( !totalsLoading)
138139 Spacer ( ) . frame ( height: Constants . totalVerticalSpacing)
139140 totalFieldView ( formattedPrice: orderTotals? . orderTotal,
140141 shimmeringActive: totalsLoading,
@@ -193,10 +194,9 @@ private extension TotalsView {
193194 }
194195
195196 func shimmeringLineView( width: CGFloat , height: CGFloat ) -> some View {
196- Constants . separatorColor
197+ Color . posOnSurfaceVariantLowest
197198 . frame ( width: width, height: height)
198199 . fixedSize ( horizontal: true , vertical: true )
199- . redacted ( reason: [ . placeholder] )
200200 . shimmering ( active: true )
201201 . cornerRadius ( Constants . shimmeringCornerRadius)
202202 }
@@ -356,10 +356,10 @@ private extension TotalsView {
356356 static let totalAmountFont : POSFontStyle = . posHeading
357357 static let separatorColor : Color = Color . posOutlineVariant
358358
359- static let shimmeringCornerRadius : CGFloat = 4
360- static let shimmeringWidth : CGFloat = 334
359+ static let shimmeringCornerRadius : CGFloat = 8
360+ static let shimmeringWidth : CGFloat = 342
361361 static let subtotalsShimmeringHeight : CGFloat = 36
362- static let totalShimmeringHeight : CGFloat = 40
362+ static let totalShimmeringHeight : CGFloat = 46
363363
364364 /// Used for synchronizing animations of shimmeringLine and textField
365365 static let matchedGeometrySubtotalId : String = " pos_totals_view_subtotal_matched_geometry_id "
0 commit comments