Add web titles

zio/stable
Paul Frazee 2023-05-17 23:33:59 -05:00
parent 129fc42e95
commit 5a20e0fafa
1 changed files with 15 additions and 2 deletions

View File

@ -147,10 +147,19 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
component={PostRepostedByScreen} component={PostRepostedByScreen}
options={({route}) => ({title: title(`Post by @${route.params.name}`)})} options={({route}) => ({title: title(`Post by @${route.params.name}`)})}
/> />
<Stack.Screen name="CustomFeed" component={CustomFeedScreen} /> <Stack.Screen
name="CustomFeed"
component={CustomFeedScreen}
options={({route}) => ({
title: title(`Custom feed by @${route.params.name}`),
})}
/>
<Stack.Screen <Stack.Screen
name="CustomFeedLikedBy" name="CustomFeedLikedBy"
component={CustomFeedLikedByScreen} component={CustomFeedLikedByScreen}
options={({route}) => ({
title: title(`Custom feed by @${route.params.name}`),
})}
/> />
<Stack.Screen <Stack.Screen
name="Debug" name="Debug"
@ -192,7 +201,11 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
component={AppPasswords} component={AppPasswords}
options={{title: title('App Passwords')}} options={{title: title('App Passwords')}}
/> />
<Stack.Screen name="SavedFeeds" component={SavedFeeds} /> <Stack.Screen
name="SavedFeeds"
component={SavedFeeds}
options={{title: title('Edit My Feeds')}}
/>
</> </>
) )
} }