From 588659380a91286f1a3de2b8b8321168d15a444c Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 3 Oct 2023 19:51:57 -0700 Subject: [PATCH] Add an illustration to the email verification reminder (#1586) * Add an illustration to the email verification reminder * Set height on svg to avoid overflow issues in android --- src/view/com/modals/VerifyEmail.tsx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/view/com/modals/VerifyEmail.tsx b/src/view/com/modals/VerifyEmail.tsx index 1b4ddcda..0a626a4e 100644 --- a/src/view/com/modals/VerifyEmail.tsx +++ b/src/view/com/modals/VerifyEmail.tsx @@ -7,6 +7,7 @@ import { StyleSheet, View, } from 'react-native' +import {Svg, Circle, Path} from 'react-native-svg' import {ScrollView, TextInput} from './util' import {observer} from 'mobx-react-lite' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' @@ -88,6 +89,7 @@ export const Component = observer(function Component({ + {stage === Stages.Reminder && } {stage === Stages.Reminder ? 'Please Verify Your Email' : ''} @@ -246,6 +248,31 @@ export const Component = observer(function Component({ ) }) +function ReminderIllustration() { + const pal = usePalette('default') + const palInverted = usePalette('inverted') + return ( + + + + + + + + + ) +} + const styles = StyleSheet.create({ container: { flex: 1,