From 01d82d1097fddb78121831b1d6b25ff0ebd47b7d Mon Sep 17 00:00:00 2001 From: balzack Date: Tue, 4 Oct 2022 17:54:18 -0700 Subject: [PATCH] fixing nav for profile and cards in home screen mode --- app/mobile/src/session/Session.jsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/mobile/src/session/Session.jsx b/app/mobile/src/session/Session.jsx index 13219781..bc6abaa9 100644 --- a/app/mobile/src/session/Session.jsx +++ b/app/mobile/src/session/Session.jsx @@ -167,6 +167,13 @@ export function Session() { detailNav.openDrawer(); }; + const openProfile = () => { + profileNav.openDrawer(); + } + const openCards = () => { + cardNav.openDrawer(); + } + const conversation = useContext(ConversationContext); useEffect(() => { @@ -186,11 +193,11 @@ export function Session() { - openProfile(profileNav)}> + Profile - openCards(cardNav)}> + Contacts