mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 20:07:11 +01:00
DEL: Remove comments
This commit is contained in:
parent
76281e4e81
commit
29afad98bd
2 changed files with 4 additions and 7 deletions
1
App.js
1
App.js
|
@ -260,7 +260,6 @@ const App = () => {
|
|||
message: contentType === ClipboardContentType.BITCOIN ? loc.wallets.clipboard_bitcoin : loc.wallets.clipboard_lightning,
|
||||
options: [loc._.cancel, loc._.continue],
|
||||
cancelButtonIndex: 0,
|
||||
destructiveButtonIndex: undefined, // Add this if you have a destructive button, otherwise omit or set as undefined
|
||||
},
|
||||
buttonIndex => {
|
||||
switch (buttonIndex) {
|
||||
|
|
|
@ -425,21 +425,19 @@ const WalletTransactions = ({ navigation }) => {
|
|||
},
|
||||
buttonIndex => {
|
||||
switch (buttonIndex) {
|
||||
case 0: // Cancel button
|
||||
// Handle cancel, if necessary
|
||||
case 0:
|
||||
break;
|
||||
case 1: // Choose photo
|
||||
case 1:
|
||||
choosePhoto();
|
||||
break;
|
||||
case 2: // Scan QR code
|
||||
case 2:
|
||||
scanQrHelper(navigate, onBarCodeRead);
|
||||
break;
|
||||
case 3: // Copy from clipboard, this case exists only if clipboard is not empty
|
||||
case 3:
|
||||
if (!isClipboardEmpty) {
|
||||
copyFromClipboard();
|
||||
}
|
||||
break;
|
||||
// Add more cases if there are additional buttons
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue