Skip to content

Commit 7b8ec78

Browse files
Delete unused code post periphery integration (#15986)
2 parents 89a0923 + 220cbb8 commit 7b8ec78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

WooCommerce/Classes/POS/Presentation/Barcode Scanning/BarcodeScannerContainer.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ struct BarcodeScannerContainerRepresentable: UIViewControllerRepresentable {
5353
/// based on VoiceOver state. Uses GameController framework for optimal performance when possible,
5454
/// and falls back to UIKit UIPress events when VoiceOver is enabled.
5555
final class GameControllerBarcodeScannerHostingController: UIHostingController<EmptyView> {
56+
/// periphery: ignore - retain `gameControllerObserver` to keep it alive
5657
private(set) var gameControllerObserver: GameControllerBarcodeObserver?
58+
5759
private(set) var uiKitObserver: UIKitBarcodeObserver?
5860

5961
private let configuration: HIDBarcodeParserConfiguration

WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ struct EditOrderAddressForm<ViewModel: AddressFormViewModelProtocol>: View {
9696
@Environment(\.safeAreaInsets) var safeAreaInsets: EdgeInsets
9797
@State private var showingCustomerSearch: Bool = false
9898

99-
@State private var showingMapPicker = false
100-
10199
var body: some View {
102100
Group {
103101
ScrollView {

0 commit comments

Comments
 (0)