This commit is contained in:
Dan Abramov
2023-12-23 01:17:39 +00:00
parent 85fcff8f7f
commit 24f5dd593d
8 changed files with 26 additions and 11 deletions
+2 -1
View File
@@ -393,8 +393,9 @@ function MyProfileTabNavigator() {
const FlatNavigator = () => {
const pal = usePalette('default')
const numUnread = useUnreadNotifications()
const title = (page: string) => bskyTitle(page, numUnread)
const screenListeners = useWebScrollRestoration()
const title = (page: string) => bskyTitle(page, numUnread)
return (
<Flat.Navigator
screenListeners={screenListeners}