diff options
Diffstat (limited to 'src/view/screens/Contacts.tsx')
-rw-r--r-- | src/view/screens/Contacts.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/Contacts.tsx b/src/view/screens/Contacts.tsx index 65c933b38..c0e265ca7 100644 --- a/src/view/screens/Contacts.tsx +++ b/src/view/screens/Contacts.tsx @@ -8,13 +8,13 @@ import {colors} from '../lib/styles' import {ScreenParams} from '../routes' import {useStores} from '../../state' -export const Contacts = ({visible, params}: ScreenParams) => { +export const Contacts = ({navIdx, visible, params}: ScreenParams) => { const store = useStores() const selectorInterp = useSharedValue(0) useEffect(() => { if (visible) { - store.nav.setTitle(`Contacts`) + store.nav.setTitle(navIdx, `Contacts`) } }, [store, visible]) |