diff options
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r-- | src/view/screens/Notifications.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index 71eda34de..7e4de497e 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -7,7 +7,7 @@ import {useStores} from '../../state' import {NotificationsViewModel} from '../../state/models/notifications-view' import {ScreenParams} from '../routes' -export const Notifications = ({visible}: ScreenParams) => { +export const Notifications = ({navIdx, visible}: ScreenParams) => { const [hasSetup, setHasSetup] = useState<boolean>(false) const [notesView, setNotesView] = useState< NotificationsViewModel | undefined @@ -24,7 +24,7 @@ export const Notifications = ({visible}: ScreenParams) => { console.log('Updating notifications feed') notesView?.update() } else { - store.nav.setTitle('Notifications') + store.nav.setTitle(navIdx, 'Notifications') const newNotesView = new NotificationsViewModel(store, {}) setNotesView(newNotesView) newNotesView.setup().then(() => { |