Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Sep 13, 2023
1 parent 5cb5726 commit 0b2db68
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/screens/Payment/Receive/Invoice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,8 @@ export default function InvoiceScreen({ navigation, route }: TMintInvoicePagePro
<Button
txt={t('payWithLn')}
onPress={() => {
void (async () => {
await openUrl(`lightning:${paymentRequest}`)?.catch(e =>
openPromptAutoClose({ msg: isErr(e) ? e.message : t('deepLinkErr') }))
})()
void openUrl(`lightning:${paymentRequest}`)?.catch(e =>
openPromptAutoClose({ msg: isErr(e) ? e.message : t('deepLinkErr') }))
}}
icon={<WalletIcon color={mainColors.WHITE} />}
/>
Expand Down

0 comments on commit 0b2db68

Please sign in to comment.