Skip to content

Commit

Permalink
minor style fix in addressbook screen
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Mar 29, 2024
1 parent 40fa6c0 commit c06cec7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/screens/Addressbook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export interface ISearchStates {
hasResults: boolean
}

const marginBottom = isIOS ? vs(45) : vs(70)
const marginBottomPayment = isIOS ? vs(20) : 0

// https://github.com/nostr-protocol/nips/blob/master/04.md#security-warning
Expand Down Expand Up @@ -417,7 +416,7 @@ export default function AddressbookPage({ navigation, route }: TAddressBookPageP
{contactsRef.current.length > 0 ?
<View style={[
styles.contactsWrap,
{ marginBottom: isKeyboardOpen || isPayment ? marginBottomPayment : marginBottom },
{ marginBottom: isKeyboardOpen || isPayment ? marginBottomPayment : vs(70) },
]}>
{search.input.length > 0 && search.results.length > 0 && search.hasResults ?
<FlashList
Expand Down

0 comments on commit c06cec7

Please sign in to comment.