Skip to content

Commit c71b538

Browse files
Add additional padding to account for floating menu in large size
Co-authored-by: Povilas Staskus <[email protected]>
1 parent e5bf087 commit c71b538

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/POS/Presentation/CardReaderConnection/UI States/PointOfSaleItemListEmptyView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import SwiftUI
22

33
struct PointOfSaleItemListEmptyView: View {
44
@Environment(\.dynamicTypeSize) private var dynamicTypeSize
5+
@Environment(\.floatingControlAreaSize) private var floatingControlAreaSize: CGSize
56
private let baseItem: ItemListBaseItem
67

78
init(base: ItemListBaseItem) {
@@ -32,6 +33,7 @@ struct PointOfSaleItemListEmptyView: View {
3233
Spacer()
3334
.renderedIf(!dynamicTypeSize.isAccessibilitySize)
3435
}
36+
.padding(.bottom, floatingControlAreaSize.height)
3537
}
3638
}
3739
}

0 commit comments

Comments
 (0)