From 8539ae2746a736e979bd0d7c458734f44882bfa4 Mon Sep 17 00:00:00 2001 From: Felix Hallenberg Date: Sun, 15 Oct 2023 10:55:06 +0300 Subject: [PATCH] Adjust titlepadding for chat --- src/Screens/Main/Chat/Title.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/Screens/Main/Chat/Title.tsx b/src/Screens/Main/Chat/Title.tsx index 9ab62e5a..c5141930 100644 --- a/src/Screens/Main/Chat/Title.tsx +++ b/src/Screens/Main/Chat/Title.tsx @@ -11,6 +11,7 @@ import { getMentorByUserId } from '../../../state/reducers/mentors'; import colors from '../../components/colors'; import { cardBorderRadius } from '../../components/Card'; import fonts from '../../components/fonts'; +import { isDevice } from 'src/lib/isDevice'; type StateProps = { name: string; @@ -41,7 +42,14 @@ const Title: React.FC = ({ const mentor = useSelector(getMentorByUserId(buddyId)); return ( - + {!onPress ? null : (