@@ -33,7 +33,6 @@ struct PointOfSaleDashboardView: View {
3333 case . content:
3434 contentView
3535 . accessibilitySortPriority ( 2 )
36- . ignoresSafeArea ( edges: . bottom)
3736 }
3837 } else {
3938 PointOfSaleUnsupportedWidthView ( )
@@ -45,6 +44,7 @@ struct PointOfSaleDashboardView: View {
4544 showSupport: $showSupport,
4645 showDocumentation: $showDocumentation)
4746 . offset ( x: Constants . floatingControlHorizontalOffset, y: - Constants. floatingControlVerticalOffset)
47+ . padding ( . bottom, Constants . floatingControlBottomPadding)
4848 . trackSize ( size: $floatingSize)
4949 . accessibilitySortPriority ( 1 )
5050 . renderedIf ( posModel. itemsViewState. containerState != . loading)
@@ -100,7 +100,6 @@ struct PointOfSaleDashboardView: View {
100100 CartView ( )
101101 . accessibilitySortPriority ( 1 )
102102 . frame ( width: geometry. size. width * Constants. cartWidth)
103- . ignoresSafeArea ( edges: . bottom)
104103 }
105104
106105 if posModel. orderStage == . finalizing {
@@ -168,6 +167,7 @@ private extension PointOfSaleDashboardView {
168167 // For the moment we're just considering landscape for the POS mode
169168 // https://github.com/woocommerce/woocommerce-ios/issues/13251
170169 static let cartWidth : CGFloat = 0.35
170+ static let floatingControlBottomPadding : CGFloat = 16
171171 static let floatingControlHorizontalOffset : CGFloat = 16
172172 static let floatingControlVerticalOffset : CGFloat = 0
173173 static let exitPOSSheetMaxWidth : CGFloat = 900.0
0 commit comments