From 70d3771caa505403b0702b6f5d234fe771c16c6a Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Sun, 21 Apr 2024 02:00:15 +0530 Subject: [PATCH 1/3] fix: IOS - Start Chat - Offline indicator overlaps with navigation bar in Start chat list. Signed-off-by: Krishna Gupta --- src/pages/NewChatPage.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pages/NewChatPage.tsx b/src/pages/NewChatPage.tsx index 5f14f8576cb5..9a93880e37bc 100755 --- a/src/pages/NewChatPage.tsx +++ b/src/pages/NewChatPage.tsx @@ -1,7 +1,6 @@ import isEmpty from 'lodash/isEmpty'; import reject from 'lodash/reject'; import React, {useCallback, useEffect, useMemo, useState} from 'react'; -import {View} from 'react-native'; import {useOnyx} from 'react-native-onyx'; import Button from '@components/Button'; import KeyboardAvoidingView from '@components/KeyboardAvoidingView'; @@ -9,6 +8,7 @@ import OfflineIndicator from '@components/OfflineIndicator'; import {useOptionsList} from '@components/OptionListContextProvider'; import {PressableWithFeedback} from '@components/Pressable'; import ReferralProgramCTA from '@components/ReferralProgramCTA'; +import ScreenWrapper from '@components/ScreenWrapper'; import SelectCircle from '@components/SelectCircle'; import SelectionList from '@components/SelectionList'; import type {ListItem} from '@components/SelectionList/types'; @@ -276,8 +276,12 @@ function NewChatPage({isGroupChat}: NewChatPageProps) { ); return ( - {isSmallScreenWidth && } - + ); } From 52bd9792deab6624aadd21bb7b3a8272086c75d8 Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Sun, 21 Apr 2024 03:00:02 +0530 Subject: [PATCH 2/3] fix: submit button size on NewChatPage page. Signed-off-by: Krishna Gupta --- src/pages/NewChatPage.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/pages/NewChatPage.tsx b/src/pages/NewChatPage.tsx index 9a93880e37bc..f8a8caaab850 100755 --- a/src/pages/NewChatPage.tsx +++ b/src/pages/NewChatPage.tsx @@ -1,6 +1,7 @@ import isEmpty from 'lodash/isEmpty'; import reject from 'lodash/reject'; import React, {useCallback, useEffect, useMemo, useState} from 'react'; +import {View} from 'react-native'; import {useOnyx} from 'react-native-onyx'; import Button from '@components/Button'; import KeyboardAvoidingView from '@components/KeyboardAvoidingView'; @@ -8,7 +9,6 @@ import OfflineIndicator from '@components/OfflineIndicator'; import {useOptionsList} from '@components/OptionListContextProvider'; import {PressableWithFeedback} from '@components/Pressable'; import ReferralProgramCTA from '@components/ReferralProgramCTA'; -import ScreenWrapper from '@components/ScreenWrapper'; import SelectCircle from '@components/SelectCircle'; import SelectionList from '@components/SelectionList'; import type {ListItem} from '@components/SelectionList/types'; @@ -265,6 +265,7 @@ function NewChatPage({isGroupChat}: NewChatPageProps) { {!!selectedOptions.length && (