From aa876bbb3fec4663e71217adecdf0f2fdec1aed8 Mon Sep 17 00:00:00 2001 From: Chirag Arora Date: Fri, 23 Jun 2023 22:52:17 +0530 Subject: [PATCH] changes in PressableWithDelayToggle to fix tooltip issue --- .../Pressable/PressableWithDelayToggle.js | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Pressable/PressableWithDelayToggle.js b/src/components/Pressable/PressableWithDelayToggle.js index d482900dfcf9..f4fb77ce7845 100644 --- a/src/components/Pressable/PressableWithDelayToggle.js +++ b/src/components/Pressable/PressableWithDelayToggle.js @@ -94,18 +94,18 @@ function PressableWithDelayToggle(props) { onPress={updatePressState} accessibilityLabel={tooltipText} > - - <> - - {props.isDelayButtonStateComplete && props.textChecked ? props.textChecked : props.text} -   - + <> + + {props.isDelayButtonStateComplete && props.textChecked ? props.textChecked : props.text} +   + + )} - - + + ); }