-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/google-sign-in-logic
- Loading branch information
Showing
15 changed files
with
286 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,4 @@ scripts/doppler_variables.sh | |
env.json | ||
|
||
.vercel | ||
.env*.local |
3 changes: 3 additions & 0 deletions
3
app/(app)/(authorized)/(tabs)/example/push-notifications-helpers.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { PushNotificationsHelpersScreen } from '@baca/screens' | ||
|
||
export default PushNotificationsHelpersScreen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/expo-router/build/global-state/routing.js b/node_modules/expo-router/build/global-state/routing.js | ||
index 2fba9d1..9cce0c9 100644 | ||
--- a/node_modules/expo-router/build/global-state/routing.js | ||
+++ b/node_modules/expo-router/build/global-state/routing.js | ||
@@ -173,6 +173,10 @@ function getNavigateAction(state, parentState, type = 'NAVIGATE') { | ||
else if (type === 'REPLACE' && parentState.type === 'tab') { | ||
type = 'JUMP_TO'; | ||
} | ||
+ | ||
+ // https://github.com/expo/expo/issues/26211 | ||
+ params.initial = false | ||
+ | ||
return { | ||
type, | ||
target: parentState.key, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Box, Spacer, Text } from '@baca/design-system' | ||
|
||
export const HelperSection = ({ | ||
header = '', | ||
children, | ||
}: { | ||
header: string | ||
children: React.ReactNode | ||
}) => { | ||
return ( | ||
<Box p={4} borderRadius={16} bg="bg.active" mb={4} gap={2}> | ||
<Text.XlBold>{header}</Text.XlBold> | ||
<Spacer y={2} /> | ||
{children} | ||
</Box> | ||
) | ||
} | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export const HelperRenderJson = ({ children }: { children: any }) => { | ||
if (typeof children === 'undefined') { | ||
return null | ||
} | ||
return ( | ||
<Box p={2} bg="bg.quaternary" borderRadius={8}> | ||
<Text.SmRegular>{JSON.stringify(children, null, 4)}</Text.SmRegular> | ||
</Box> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.