Skip to content

Commit

Permalink
fix: Show Info notification for LNURL-withdraw success
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Nov 4, 2024
1 parent aeb535b commit 97d0261
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/screens/Wallets/LNURLWithdraw/Confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ const Confirm = ({ route }: LNURLWithdrawProps<'Confirm'>): ReactElement => {
}
dispatch(closeSheet('lnurlWithdraw'));
showToast({
type: 'success',
title: t('lnurl_w_success_title'),
description: t('lnurl_w_success_description'),
type: 'info',
title: t('other:lnurl_withdr_success_title'),
description: t('other:lnurl_withdr_success_msg'),
});
};

Expand Down
2 changes: 1 addition & 1 deletion src/utils/i18n/locales/en/other.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
"string": "Withdraw Requested"
},
"lnurl_withdr_success_msg": {
"string": "Your withdraw was successfully requested."
"string": "Your withdraw was successfully requested. Waiting for payment."
},
"phone_settings": {
"string": "Open Phone Settings"
Expand Down
6 changes: 0 additions & 6 deletions src/utils/i18n/locales/en/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -633,12 +633,6 @@
"lnurl_w_button": {
"string": "Withdraw"
},
"lnurl_w_success_title": {
"string": "Success"
},
"lnurl_w_success_description": {
"string": "Withdraw Requested Successful"
},
"lnurl_p_title": {
"string": "Pay Bitcoin"
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/lnurl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export const handleLnurlWithdraw = async ({
}

showToast({
type: 'success',
type: 'info',
title: i18n.t('other:lnurl_withdr_success_title'),
description: i18n.t('other:lnurl_withdr_success_msg'),
});
Expand Down

0 comments on commit 97d0261

Please sign in to comment.