From cd3b0e54fbefa6c38ae6ad81198c8d766baee2c5 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 28 Sep 2023 12:08:00 -0700 Subject: Email verification and change flows (#1560) * fix 'Reposted by' text overflow * Add email verification flow * Implement change email flow * Add verify email reminder on load * Bump @atproto/api@0.6.20 * Trim the inputs * Accessibility fixes * Fix typo * Fix: include the day in the sharding check * Update auto behaviors * Update yarn.lock * Temporary error message --------- Co-authored-by: Eric Bailey --- src/view/com/util/forms/Button.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/view/com/util/forms/Button.tsx') diff --git a/src/view/com/util/forms/Button.tsx b/src/view/com/util/forms/Button.tsx index 076fa1baa..270d98317 100644 --- a/src/view/com/util/forms/Button.tsx +++ b/src/view/com/util/forms/Button.tsx @@ -42,6 +42,7 @@ export function Button({ type = 'primary', label, style, + labelContainerStyle, labelStyle, onPress, children, @@ -55,6 +56,7 @@ export function Button({ type?: ButtonType label?: string style?: StyleProp + labelContainerStyle?: StyleProp labelStyle?: StyleProp onPress?: () => void | Promise testID?: string @@ -173,7 +175,7 @@ export function Button({ } return ( - + {label && withLoading && isLoading ? ( ) : null} @@ -182,7 +184,15 @@ export function Button({ ) - }, [children, label, withLoading, isLoading, typeLabelStyle, labelStyle]) + }, [ + children, + label, + withLoading, + isLoading, + labelContainerStyle, + typeLabelStyle, + labelStyle, + ]) return (