diff --git a/src/screens/dashboard/Dashboard.tsx b/src/screens/dashboard/Dashboard.tsx index 8205eb5f5..08d13e9f2 100644 --- a/src/screens/dashboard/Dashboard.tsx +++ b/src/screens/dashboard/Dashboard.tsx @@ -44,7 +44,7 @@ export const Dashboard = () => { hasIndicator style={teamsModalStyle} isOpen={isSuccessModalVisible} - onHide={closeSuccessModal}> + onHide={handleModalClose}> diff --git a/src/screens/welcome/Welcome.tsx b/src/screens/welcome/Welcome.tsx index d99aeb461..06c929cbc 100644 --- a/src/screens/welcome/Welcome.tsx +++ b/src/screens/welcome/Welcome.tsx @@ -114,7 +114,7 @@ export const Welcome = ({ route }: AuthNavigationProps<'WELCOME'>) => { style={{ marginTop: isIos ? 30 : 0, }} - backdropColor="white" + backdropColor={styles.privacyPolicyModalBackdrop.backgroundColor} backdropOpacity={1} isVisible={isPrivacyPolicyModalVisible} onBackdropPress={hidePrivacyPolicyModal} @@ -129,4 +129,7 @@ const useStyles = mkUseStyles((theme: Theme) => ({ formContainer: { marginHorizontal: theme.spacing.l, }, + privacyPolicyModalBackdrop: { + backgroundColor: theme.colors.dashboardBackground, + }, }))