From da9ba908f58395c50d03ae8032bab0d7f4d4d2fd Mon Sep 17 00:00:00 2001 From: Ronnie Beggs Date: Wed, 1 May 2024 12:46:33 -0700 Subject: [PATCH] [fix] misc styling and functionality fixes. --- .../EligibilityFilingButton/EligibilityFilingButton.tsx | 4 ++-- src/app/(Authentication)/Welcome/index.tsx | 5 ----- src/app/(Authentication)/Welcome/styles.ts | 6 +----- .../(BottomTabNavigation)/AllCases/Updates/[caseUid].tsx | 3 +++ 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/Components/EligibilityFilingButton/EligibilityFilingButton.tsx b/src/Components/EligibilityFilingButton/EligibilityFilingButton.tsx index f6483bec..82d6b030 100644 --- a/src/Components/EligibilityFilingButton/EligibilityFilingButton.tsx +++ b/src/Components/EligibilityFilingButton/EligibilityFilingButton.tsx @@ -6,7 +6,7 @@ import { TouchableOpacity } from 'react-native-gesture-handler'; import styles from './styles'; import Fileclaim from '../../../assets/file-claim.svg'; import Arrow from '../../../assets/next.svg'; -import globalStyles from '../../styles/global'; +import { shawdowStyles } from '../../styles/global'; interface EligibilityCardProps { mainText: string; @@ -21,7 +21,7 @@ export default function EligibleFilingButton({ }: EligibilityCardProps) { return ( { router.push(route); }} diff --git a/src/app/(Authentication)/Welcome/index.tsx b/src/app/(Authentication)/Welcome/index.tsx index 341fd831..4197307d 100644 --- a/src/app/(Authentication)/Welcome/index.tsx +++ b/src/app/(Authentication)/Welcome/index.tsx @@ -16,11 +16,6 @@ function WelcomeScreen() { return ( - - Welcome to the Impact Fund. diff --git a/src/app/(Authentication)/Welcome/styles.ts b/src/app/(Authentication)/Welcome/styles.ts index 1ebc041f..c85a78dd 100644 --- a/src/app/(Authentication)/Welcome/styles.ts +++ b/src/app/(Authentication)/Welcome/styles.ts @@ -13,15 +13,11 @@ export default StyleSheet.create({ }, contentContainer: { flexDirection: 'column', - justifyContent: 'space-between', + justifyContent: 'flex-end', height: '84%', width: '81%', paddingVertical: 40, }, - image: { - width: 130, - height: 16, - }, textContainer: { marginTop: 275, justifyContent: 'center', diff --git a/src/app/(BottomTabNavigation)/AllCases/Updates/[caseUid].tsx b/src/app/(BottomTabNavigation)/AllCases/Updates/[caseUid].tsx index fed3ec44..adac0ac7 100644 --- a/src/app/(BottomTabNavigation)/AllCases/Updates/[caseUid].tsx +++ b/src/app/(BottomTabNavigation)/AllCases/Updates/[caseUid].tsx @@ -54,6 +54,9 @@ export default function UpdatesScreen() { } + ListEmptyComponent={ + There are no updates associated with this case. + } /> )}