about summary refs log tree commit diff
path: root/src/Navigation.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-17 23:36:36 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-05-17 23:36:36 -0500
commitd88c27a41995c181a38c01248fe01f853ba83366 (patch)
tree69098fefee81360e6a71424c02d9486e1536b5b9 /src/Navigation.tsx
parent5a20e0fafa2bdbfd57a69da42448a687c7d812c1 (diff)
downloadvoidsky-d88c27a41995c181a38c01248fe01f853ba83366.tar.zst
Improve web titles
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r--src/Navigation.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
index 46189c5f0..ff7a5f5c2 100644
--- a/src/Navigation.tsx
+++ b/src/Navigation.tsx
@@ -150,16 +150,12 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
       <Stack.Screen
         name="CustomFeed"
         component={CustomFeedScreen}
-        options={({route}) => ({
-          title: title(`Custom feed by @${route.params.name}`),
-        })}
+        options={{title: title('Feed')}}
       />
       <Stack.Screen
         name="CustomFeedLikedBy"
         component={CustomFeedLikedByScreen}
-        options={({route}) => ({
-          title: title(`Custom feed by @${route.params.name}`),
-        })}
+        options={{title: title('Liked by')}}
       />
       <Stack.Screen
         name="Debug"