Add web titles
parent
129fc42e95
commit
5a20e0fafa
|
@ -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')}}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue