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 <git@esb.lol>
This commit is contained in:
parent
16763d1d41
commit
cd3b0e54fb
14 changed files with 855 additions and 15 deletions
|
@ -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<ViewStyle>
|
||||
labelContainerStyle?: StyleProp<ViewStyle>
|
||||
labelStyle?: StyleProp<TextStyle>
|
||||
onPress?: () => void | Promise<void>
|
||||
testID?: string
|
||||
|
@ -173,7 +175,7 @@ export function Button({
|
|||
}
|
||||
|
||||
return (
|
||||
<View style={styles.labelContainer}>
|
||||
<View style={[styles.labelContainer, labelContainerStyle]}>
|
||||
{label && withLoading && isLoading ? (
|
||||
<ActivityIndicator size={12} color={typeLabelStyle.color} />
|
||||
) : null}
|
||||
|
@ -182,7 +184,15 @@ export function Button({
|
|||
</Text>
|
||||
</View>
|
||||
)
|
||||
}, [children, label, withLoading, isLoading, typeLabelStyle, labelStyle])
|
||||
}, [
|
||||
children,
|
||||
label,
|
||||
withLoading,
|
||||
isLoading,
|
||||
labelContainerStyle,
|
||||
typeLabelStyle,
|
||||
labelStyle,
|
||||
])
|
||||
|
||||
return (
|
||||
<Pressable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue