From 66742e61b03f872c17483dfe469414fd6bea70cc Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 12 Nov 2024 12:44:34 +0700 Subject: [PATCH 1/2] Fix gesture in modal for android --- .../ValidateCodeActionModal/ValidateCodeForm/index.android.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx b/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx index 704405f93a2c..2d36965e7412 100644 --- a/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx +++ b/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx @@ -1,6 +1,7 @@ import React, {forwardRef} from 'react'; import BaseValidateCodeForm from './BaseValidateCodeForm'; import type {ValidateCodeFormHandle, ValidateCodeFormProps} from './BaseValidateCodeForm'; +import { gestureHandlerRootHOC } from 'react-native-gesture-handler'; const ValidateCodeForm = forwardRef((props, ref) => ( )); -export default ValidateCodeForm; +export default gestureHandlerRootHOC(ValidateCodeForm); From b343200916919c64ec6156634c21b0bd4d578e4e Mon Sep 17 00:00:00 2001 From: Wildan Muhlis Date: Wed, 20 Nov 2024 09:05:05 +0700 Subject: [PATCH 2/2] prettier --- .../ValidateCodeActionModal/ValidateCodeForm/index.android.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx b/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx index 2d36965e7412..08c2b087b7d5 100644 --- a/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx +++ b/src/components/ValidateCodeActionModal/ValidateCodeForm/index.android.tsx @@ -1,7 +1,7 @@ import React, {forwardRef} from 'react'; +import {gestureHandlerRootHOC} from 'react-native-gesture-handler'; import BaseValidateCodeForm from './BaseValidateCodeForm'; import type {ValidateCodeFormHandle, ValidateCodeFormProps} from './BaseValidateCodeForm'; -import { gestureHandlerRootHOC } from 'react-native-gesture-handler'; const ValidateCodeForm = forwardRef((props, ref) => (