Skip to content

Commit a68ea24

Browse files
committed
ignore periphery check for unused POS cover
1 parent 569f3e9 commit a68ea24

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

WooCommerce/Classes/POS/Presentation/Reusable Views/POSFullScreenCover.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extension View {
1414
/// - onDismiss: Optional closure called when the cover is dismissed
1515
/// - content: Content to show in full screen
1616
/// - Returns: a modified view that shows full screen content with automatic modal hierarchy
17+
// periphery:ignore
1718
func posFullScreenCover<Content: View>(
1819
isPresented: Binding<Bool>,
1920
onDismiss: (() -> Void)? = nil,
@@ -33,6 +34,7 @@ extension View {
3334
/// - onDismiss: Optional closure called when the cover is dismissed
3435
/// - content: Content to show in full screen
3536
/// - Returns: a modified view that shows full screen content with automatic modal hierarchy
37+
// periphery:ignore
3638
func posFullScreenCover<Item: Identifiable & Equatable, Content: View>(
3739
item: Binding<Item?>,
3840
onDismiss: (() -> Void)? = nil,
@@ -53,7 +55,7 @@ final class POSFullScreenCoverManager: ObservableObject {
5355
}
5456

5557
// MARK: - Modifiers
56-
58+
// periphery:ignore
5759
struct POSFullScreenCoverModifier<CoverContent: View>: ViewModifier {
5860
@Binding var isPresented: Bool
5961
let onDismiss: (() -> Void)?
@@ -80,7 +82,7 @@ struct POSFullScreenCoverModifier<CoverContent: View>: ViewModifier {
8082
}
8183
}
8284
}
83-
85+
// periphery:ignore
8486
struct POSFullScreenCoverModifierForItem<Item: Identifiable & Equatable, CoverContent: View>: ViewModifier {
8587
@Binding var item: Item?
8688
let onDismiss: (() -> Void)?

0 commit comments

Comments
 (0)