Improve web titles
This commit is contained in:
parent
5a20e0fafa
commit
d88c27a419
2 changed files with 5 additions and 6 deletions
|
@ -20,6 +20,7 @@ import {Button} from 'view/com/util/forms/Button'
|
|||
import {Text} from 'view/com/util/text/Text'
|
||||
import * as Toast from 'view/com/util/Toast'
|
||||
import {isDesktopWeb} from 'platform/detection'
|
||||
import {useSetTitle} from 'lib/hooks/useSetTitle'
|
||||
|
||||
type Props = NativeStackScreenProps<CommonNavigatorParams, 'CustomFeed'>
|
||||
export const CustomFeedScreen = withAuthRequired(
|
||||
|
@ -41,6 +42,8 @@ export const CustomFeedScreen = withAuthRequired(
|
|||
return feed
|
||||
}, [store, uri])
|
||||
|
||||
useSetTitle(currentFeed?.displayName)
|
||||
|
||||
const onToggleSaved = React.useCallback(async () => {
|
||||
try {
|
||||
if (currentFeed?.isSaved) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue