diff --git a/native/account/qr-auth/qr-auth-navigator.react.js b/native/account/qr-auth/qr-auth-navigator.react.js index ff5930905f..329952bbb7 100644 --- a/native/account/qr-auth/qr-auth-navigator.react.js +++ b/native/account/qr-auth/qr-auth-navigator.react.js @@ -14,6 +14,7 @@ import QRAuthNotPrimaryDevice from './qr-auth-not-primary-device.react.js'; import SecondaryDeviceConnected from './secondary-device-connected.react.js'; import SecondaryDeviceNotResponding from './secondary-device-not-responding.react.js'; import SecondaryDeviceQRCodeScanner from './secondary-device-qr-code-scanner.react.js'; +import HeaderBackButton from '../../navigation/header-back-button.react.js'; import HeaderCloseLeftButton from '../../navigation/header-close-left-button.react.js'; import type { RootNavigationProp } from '../../navigation/root-navigator.react.js'; import { @@ -70,6 +71,9 @@ const disableGesturesScreenOptions = { headerLeft: null, gestureEnabled: false, }; +const overrideHeaderBackButton = { + headerLeft: HeaderBackButton, +}; // eslint-disable-next-line no-unused-vars function QRAuthNavigator(props: Props): React.Node { @@ -84,10 +88,12 @@ function QRAuthNavigator(props: Props): React.Node {