Skip to content

Commit

Permalink
apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFN committed May 6, 2024
1 parent 2f06bf9 commit 0464094
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ const NAME =
process.env.APP_VARIANT
] ?? '';

/**
* @param {object} opts
* @param {import('@expo/config-types').ExpoConfig} opts.config
*
* @returns {import('@expo/config-types').ExpoConfig}
*/
module.exports = ({config}) => ({
...config,
extra: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"android": "npm run build:backend && npm run android-no-backend-rebuild",
"android-no-backend-rebuild": "expo run:android",
"ios": "expo run:ios && npm run android-no-backend-rebuild",
"prestart": "npm run build:translations && npm run build:intl-polyfills && npm run build:backend",
"ios": "npm run build:backend && npm run ios-no-backend-rebuild",
"ios-no-backend-rebuild": "expo run:ios",
"prestart": "npm run build:translations && npm run build:intl-polyfills",
"start": "expo start",
"test": "jest",
"lint:prettier": "prettier \"src/**/*.{js,ts,jsx,tsx}\" --check",
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/sharedComponents/HomeHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {BottomTabHeaderProps} from '@react-navigation/bottom-tabs';

export const HomeHeader: FC<BottomTabHeaderProps> = ({navigation}) => {
return (
<View style={[styles.header, {paddingTop: 10}]}>
<View style={[styles.header]}>
<LinearGradient
style={styles.linearGradient}
colors={['#0006', '#0000']}
Expand Down Expand Up @@ -36,6 +36,7 @@ const styles = StyleSheet.create({
justifyContent: 'space-between',
alignItems: 'center',
backgroundColor: 'transparent',
paddingTop: 10,
},
leftButton: {
width: 60,
Expand Down

0 comments on commit 0464094

Please sign in to comment.