Skip to content

Commit

Permalink
Merge branch 'master' into IOPID-1227-app-aggiornare-icone-nel-bottom…
Browse files Browse the repository at this point in the history
…-sheet-scopri-di-piu-della-schermata-di-accesso-bloccato-in-app
  • Loading branch information
Ladirico authored Jan 12, 2024
2 parents 981a794 + 1e73ed6 commit 51f3820
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ts/features/barcode/screens/BarcodeScanScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,19 @@ import {
import { BarcodeFailure } from "../types/failure";
import { getIOBarcodesByType } from "../utils/getBarcodesByType";
import { WalletBarcodeRoutes } from "../../walletV3/barcode/navigation/routes";
import { useHardwareBackButton } from "../../../hooks/useHardwareBackButton";

const BarcodeScanScreen = () => {
const navigation = useNavigation<IOStackNavigationProp<AppParamsList>>();
const dispatch = useIODispatch();
const openDeepLink = useOpenDeepLink();
const isIdPayEnabled = useIOSelector(isIdPayEnabledSelector);

useHardwareBackButton(() => {
navigation.goBack();
return true;
});

const { dataMatrixPosteEnabled } = useIOSelector(
barcodesScannerConfigSelector
);
Expand Down

0 comments on commit 51f3820

Please sign in to comment.