From fc67451f834d9874c06178bae920b307050450ad Mon Sep 17 00:00:00 2001 From: ~latter-bolden Date: Mon, 11 Mar 2024 12:06:44 -0400 Subject: [PATCH] mobile: add comment about top level wer --- apps/tlon-mobile/src/App.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/tlon-mobile/src/App.tsx b/apps/tlon-mobile/src/App.tsx index 090ae09fee..125dcdc6d6 100644 --- a/apps/tlon-mobile/src/App.tsx +++ b/apps/tlon-mobile/src/App.tsx @@ -47,7 +47,9 @@ type Props = { const OnboardingStack = createNativeStackNavigator(); -const App = ({ wer: initialWer }: Props) => { +// on Android if a notification click causes the app to open, the corresponding notification +// path is passed in here as "wer" +const App = ({ wer }: Props) => { useDevTools({ enabled: DEV_LOCAL, localCode: DEV_LOCAL_CODE }); const isDarkMode = useIsDarkMode(); const tailwind = useTailwind(); @@ -85,7 +87,7 @@ const App = ({ wer: initialWer }: Props) => { ) : isAuthenticated ? ( ) : (