Skip to content

Commit

Permalink
fix: web navigation
Browse files Browse the repository at this point in the history
feat: new icons
  • Loading branch information
OverGlass committed Jun 15, 2024
2 parents bb2b37e + ae339ab commit fe8c56d
Show file tree
Hide file tree
Showing 56 changed files with 1,181 additions and 683 deletions.
8 changes: 4 additions & 4 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export default ({ config }: ConfigContext): Partial<ExpoConfig> => {
config.ios.googleServicesFile = './config/GoogleService-Info.plist'
config.android.googleServicesFile = './config/google-services.json'
}
config.android.adaptiveIcon.foregroundImage = './assets/developement/adaptive-icon.png'
config.ios.icon = './assets/developement/icon.png'
config.android.adaptiveIcon.foregroundImage = './assets/developement/adaptive-icon.jpg'
config.ios.icon = './assets/developement/icon.jpg'
} else if (profile === 'production') {
config.name = process.env.EXPO_PUBLIC_APP_NAME
config.ios.bundleIdentifier = baseIdentifier
Expand All @@ -50,8 +50,8 @@ export default ({ config }: ConfigContext): Partial<ExpoConfig> => {
} else {
config.name = process.env.EXPO_PUBLIC_APP_NAME
config.scheme = 'vox-staging'
config.android.adaptiveIcon.foregroundImage = './assets/staging/adaptive-icon.png'
config.ios.icon = './assets/staging/icon.png'
config.android.adaptiveIcon.foregroundImage = './assets/staging/adaptive-icon.jpg'
config.ios.icon = './assets/staging/icon.jpg'
config.ios.bundleIdentifier = `${baseIdentifier}.${profile}`
config.android.package = `${basePackage}.${profile}`
config.ios.googleServicesFile = process.env.GOOGLE_SERVICES_IOS_PATH_STAGING
Expand Down
2 changes: 1 addition & 1 deletion app/(tabs)/(home)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function AppLayout() {
}
const config = { title: '' }
return (
<Stack screenOptions={{ header: SmallHeader, animation: 'slide_from_right' }}>
<Stack screenOptions={{ header: (props) => <SmallHeader {...props} />, animation: 'slide_from_right' }}>
<Stack.Screen name="index" options={{ title: '', header: Header, headerLeft: () => <EuCampaignIllustration /> }} />
<Stack.Screen name="(modals)/news-detail" options={config} />
<Stack.Screen name="(modals)/event-detail" options={config} />
Expand Down
Loading

0 comments on commit fe8c56d

Please sign in to comment.