Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions src/pages/settings/Wallet/WalletPage/WalletPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,16 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
anchorRef={paymentMethodButtonRef as RefObject<View>}
>
{!showConfirmDeleteModal && (
<View style={[styles.mv5, !shouldUseNarrowLayout ? styles.sidebarPopover : {}]}>
<View
style={[
!shouldUseNarrowLayout
? {
...styles.sidebarPopover,
...styles.pv4,
}
: styles.pt5,
]}
>
{isPopoverBottomMount && (
<MenuItem
title={paymentMethod.formattedSelectedPaymentMethod.title}
Expand Down Expand Up @@ -668,7 +677,16 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
}}
anchorRef={paymentMethodButtonRef as RefObject<View>}
>
<View style={[styles.mv5, !shouldUseNarrowLayout ? styles.sidebarPopover : {}]}>
<View
style={[
!shouldUseNarrowLayout
? {
...styles.sidebarPopover,
...styles.pv4,
}
: styles.pt5,
]}
>
{isPopoverBottomMount && (
<MenuItem
title={paymentMethod.formattedSelectedPaymentMethod.title}
Expand Down
11 changes: 10 additions & 1 deletion src/pages/workspace/invoices/WorkspaceInvoiceVBASection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,16 @@ function WorkspaceInvoiceVBASection({policyID}: WorkspaceInvoiceVBASectionProps)
anchorRef={paymentMethodButtonRef as RefObject<View>}
>
{!showConfirmDeleteModal && (
<View style={[styles.mv5, !shouldUseNarrowLayout ? styles.sidebarPopover : {}]}>
<View
style={[
!shouldUseNarrowLayout
? {
...styles.sidebarPopover,
...styles.pv4,
}
: styles.pt5,
]}
>
{isPopoverBottomMount && (
<MenuItem
title={paymentMethod.formattedSelectedPaymentMethod.title}
Expand Down