about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-13 21:34:07 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-13 21:34:07 -0500
commit926a2d475664fe8b7d4848396d20406a0f68a967 (patch)
tree8f00c84ce1926c8a97c1fbde74c4c6e02026f76d /src
parent012af05ab8a26e34d99eb619ab58ef7dd07e5646 (diff)
downloadvoidsky-926a2d475664fe8b7d4848396d20406a0f68a967.tar.zst
Add deep links (android)
Diffstat (limited to 'src')
-rw-r--r--src/routes/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 5084473ec..2accd6fb2 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -51,7 +51,7 @@ const tabBarScreenOptions = ({
   headerShown: false,
   tabBarIcon: (_state: {focused: boolean; color: string; size: number}) => {
     // TODO: icons
-    return <Text>{route.name.at(0)}</Text>
+    return <Text>{route.name?.[0] || ''}</Text>
   },
 })