Skip to content

Commit

Permalink
- Resolved #2386
Browse files Browse the repository at this point in the history
  • Loading branch information
cakesoft-nikhita committed Jan 18, 2021
1 parent d6802ce commit f8ff66c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/pages/Contacts/AddContactAddressBook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,9 @@ export default function AddContactAddressBook( props ) {
</AppBottomSheetTouchableWrapper>
</View>
</View>

<View style={{
flex: 1
height: '100%',
}}>
<View
style={{
Expand All @@ -422,7 +423,7 @@ export default function AddContactAddressBook( props ) {
</Text> */}
</View>
<View style={{
flex: 1, ...props.style
height: '100%', ...props.style
}}>
<View style={styles.selectedContactContainer}>
{selectedContacts.length > 0
Expand Down Expand Up @@ -497,7 +498,7 @@ export default function AddContactAddressBook( props ) {
/>
</View>
<View style={{
flex: 1, flexDirection: 'row', position: 'relative'
height: '100%', flexDirection: 'row', position: 'relative'
}}>
{filterContactData ? (
<FlatList
Expand Down
3 changes: 2 additions & 1 deletion src/pages/ManageBackup/TrustedContactHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ const TrustedContactHistory = (props) => {
const renderTrustedContactsContent = useCallback(() => {
return (
<TrustedContacts
bottomsheetRef={trustedContactsBottomSheet as any}
LoadContacts={LoadContacts}
onPressBack={() => {
(trustedContactsBottomSheet as any).current.snapTo(0);
Expand Down Expand Up @@ -1224,7 +1225,7 @@ const TrustedContactHistory = (props) => {
<BottomSheet
enabledInnerScrolling={true}
ref={trustedContactsBottomSheet as any}
snapPoints={[-30, hp('85%')]}
snapPoints={[-30, Platform.OS == 'ios' && DeviceInfo.hasNotch() ? hp('82%') : hp('82%')]}
renderContent={renderTrustedContactsContent}
renderHeader={renderTrustedContactsHeader}
/>
Expand Down

0 comments on commit f8ff66c

Please sign in to comment.