Skip to content

Commit

Permalink
Fix/minor bugs (#977)
Browse files Browse the repository at this point in the history
* fix: privacy policy bg color on dark theme

* fix: infinite loader after closing team modal with x button
  • Loading branch information
mateki0 authored Sep 15, 2023
1 parent fcec530 commit 1c87c65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const Dashboard = () => {
hasIndicator
style={teamsModalStyle}
isOpen={isSuccessModalVisible}
onHide={closeSuccessModal}>
onHide={handleModalClose}>
<TeamsModal closeModal={handleModalClose} />
</SwipeableModalRegular>
</SafeAreaWrapper>
Expand Down
5 changes: 4 additions & 1 deletion src/screens/welcome/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -129,4 +129,7 @@ const useStyles = mkUseStyles((theme: Theme) => ({
formContainer: {
marginHorizontal: theme.spacing.l,
},
privacyPolicyModalBackdrop: {
backgroundColor: theme.colors.dashboardBackground,
},
}))

0 comments on commit 1c87c65

Please sign in to comment.