diff --git a/WooCommerce/Classes/POS/Presentation/Barcode Scanning/BarcodeScannerContainer.swift b/WooCommerce/Classes/POS/Presentation/Barcode Scanning/BarcodeScannerContainer.swift index 5e67a187339..0e5f70f5dc8 100644 --- a/WooCommerce/Classes/POS/Presentation/Barcode Scanning/BarcodeScannerContainer.swift +++ b/WooCommerce/Classes/POS/Presentation/Barcode Scanning/BarcodeScannerContainer.swift @@ -53,7 +53,9 @@ struct BarcodeScannerContainerRepresentable: UIViewControllerRepresentable { /// based on VoiceOver state. Uses GameController framework for optimal performance when possible, /// and falls back to UIKit UIPress events when VoiceOver is enabled. final class GameControllerBarcodeScannerHostingController: UIHostingController { + /// periphery: ignore - retain `gameControllerObserver` to keep it alive private(set) var gameControllerObserver: GameControllerBarcodeObserver? + private(set) var uiKitObserver: UIKitBarcodeObserver? private let configuration: HIDBarcodeParserConfiguration diff --git a/WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift b/WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift index c81fdf947e7..e41a1cb4984 100644 --- a/WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift +++ b/WooCommerce/Classes/ViewRelated/Orders/Order Details/Address Edit/EditOrderAddressForm.swift @@ -96,8 +96,6 @@ struct EditOrderAddressForm: View { @Environment(\.safeAreaInsets) var safeAreaInsets: EdgeInsets @State private var showingCustomerSearch: Bool = false - @State private var showingMapPicker = false - var body: some View { Group { ScrollView {