diff --git a/app/containers/TwoFactor/index.tsx b/app/containers/TwoFactor/index.tsx index 39827538463..a2dbc9c6a35 100644 --- a/app/containers/TwoFactor/index.tsx +++ b/app/containers/TwoFactor/index.tsx @@ -24,6 +24,7 @@ import KeyboardView from '../KeyboardView'; import { showToast } from '~/lib/methods/helpers/showToast'; import log from '~/lib/methods/helpers/log'; import { TWO_FACTOR } from '~/lib/constants/twoFactor'; +import { isAndroid, isIOS } from '~/lib/methods/helpers/deviceInfo'; interface IMethodsProp { text: string; @@ -163,7 +164,7 @@ const TwoFactor = memo(() => { isVisible={visible} hideModalContentWhileAnimating style={styles.modal} - onModalShow={() => setFocus('code')}> + onModalShow={isAndroid ? () => setFocus('code') : undefined}> {