From a73893d94a379e05b226200474e870fe2d1a26f9 Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Fri, 2 Jun 2023 12:23:30 +0200 Subject: [PATCH 1/2] migrate AddPayPalMePage to PressableWithoutFeedback --- src/pages/settings/Payments/AddPayPalMePage.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/settings/Payments/AddPayPalMePage.js b/src/pages/settings/Payments/AddPayPalMePage.js index f4b2bd81bb8d..9c28a5c3f2c9 100644 --- a/src/pages/settings/Payments/AddPayPalMePage.js +++ b/src/pages/settings/Payments/AddPayPalMePage.js @@ -1,5 +1,5 @@ import React, {useRef, useState, useCallback} from 'react'; -import {View, TouchableWithoutFeedback, Linking} from 'react-native'; +import {View, Linking} from 'react-native'; import _ from 'underscore'; import CONST from '../../../CONST'; import ROUTES from '../../../ROUTES'; @@ -19,6 +19,7 @@ import * as User from '../../../libs/actions/User'; import Icon from '../../../components/Icon'; import * as Expensicons from '../../../components/Icon/Expensicons'; import variables from '../../../styles/variables'; +import PressableWithoutFeedback from '../../../components/Pressable/PressableWithoutFeedback'; const AddPayPalMePage = (props) => { const [payPalMeUsername, setPayPalMeUsername] = useState(''); @@ -70,8 +71,10 @@ const AddPayPalMePage = (props) => { /> {props.translate('addPayPalMePage.checkListOf')} - Linking.openURL('https://developer.paypal.com/docs/reports/reference/paypal-supported-currencies')} > @@ -90,7 +93,7 @@ const AddPayPalMePage = (props) => { /> - + From b703379bb9da1015cf35a795b5320b3fe2340fea Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Fri, 2 Jun 2023 12:51:14 +0200 Subject: [PATCH 2/2] fix problem with genericPressable autoHitSlop when its false --- .../Pressable/GenericPressable/BaseGenericPressable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Pressable/GenericPressable/BaseGenericPressable.js b/src/components/Pressable/GenericPressable/BaseGenericPressable.js index 6cdb83bbb81a..0b15378de8bc 100644 --- a/src/components/Pressable/GenericPressable/BaseGenericPressable.js +++ b/src/components/Pressable/GenericPressable/BaseGenericPressable.js @@ -135,7 +135,7 @@ const GenericPressable = forwardRef((props, ref) => { return (