From 62e57c3b08020e17b3266876de342996c8bd12db Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 8 Mar 2024 14:43:28 -0800 Subject: Adjustments to ALF prompt buttons (Dialogs Pt. 2) (#3144) * Improve a11y on ios * Format * Remove android * Fix android * small adjustment to buttons in prompt * full width below gtmobile * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types * small adjustment to buttons in prompt * full width below gtmobile --------- Co-authored-by: Eric Bailey --- src/components/Prompt.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/components/Prompt.tsx') diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index 28ec2d036..3b245c440 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -78,10 +78,9 @@ export function Actions({children}: React.PropsWithChildren<{}>) { {children} @@ -92,12 +91,13 @@ export function Cancel({ children, }: React.PropsWithChildren<{onPress?: PressableProps['onPress']}>) { const {_} = useLingui() + const {gtMobile} = useBreakpoints() const {close} = Dialog.useDialogContext() return (