@@ -9,7 +9,7 @@ struct POSFloatingControlView: View {
99 @Binding private var showSupport : Bool
1010 @Binding private var showDocumentation : Bool
1111 @State private var showProductRestrictionsModal : Bool = false
12- @State private var showBarcodeScanning : Bool = false
12+ @State private var showBarcodeScanningInformation : Bool = false
1313
1414 init ( showExitPOSModal: Binding < Bool > ,
1515 showSupport: Binding < Bool > ,
@@ -59,7 +59,7 @@ struct POSFloatingControlView: View {
5959 }
6060 if ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . pointOfSaleBarcodeScanningi1) {
6161 Button {
62- showBarcodeScanning = true
62+ showBarcodeScanningInformation = true
6363 } label: {
6464 Label (
6565 title: { Text ( Localization . barcodeScanning) } ,
@@ -91,8 +91,8 @@ struct POSFloatingControlView: View {
9191 . posModal ( isPresented: $showProductRestrictionsModal) {
9292 SimpleProductsOnlyInformation ( isPresented: $showProductRestrictionsModal)
9393 }
94- . posModal ( isPresented: $showBarcodeScanning ) {
95- PointOfSaleBarcodeScannerInformationModal ( isPresented: $showBarcodeScanning )
94+ . posModal ( isPresented: $showBarcodeScanningInformation ) {
95+ PointOfSaleBarcodeScannerInformationModal ( isPresented: $showBarcodeScanningInformation )
9696 }
9797 . frame ( height: Constants . size)
9898 . background ( Color . clear)
0 commit comments