mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 04:13:49 +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,
|
message: contentType === ClipboardContentType.BITCOIN ? loc.wallets.clipboard_bitcoin : loc.wallets.clipboard_lightning,
|
||||||
options: [loc._.cancel, loc._.continue],
|
options: [loc._.cancel, loc._.continue],
|
||||||
cancelButtonIndex: 0,
|
cancelButtonIndex: 0,
|
||||||
destructiveButtonIndex: undefined, // Add this if you have a destructive button, otherwise omit or set as undefined
|
|
||||||
},
|
},
|
||||||
buttonIndex => {
|
buttonIndex => {
|
||||||
switch (buttonIndex) {
|
switch (buttonIndex) {
|
||||||
|
|
|
@ -425,21 +425,19 @@ const WalletTransactions = ({ navigation }) => {
|
||||||
},
|
},
|
||||||
buttonIndex => {
|
buttonIndex => {
|
||||||
switch (buttonIndex) {
|
switch (buttonIndex) {
|
||||||
case 0: // Cancel button
|
case 0:
|
||||||
// Handle cancel, if necessary
|
|
||||||
break;
|
break;
|
||||||
case 1: // Choose photo
|
case 1:
|
||||||
choosePhoto();
|
choosePhoto();
|
||||||
break;
|
break;
|
||||||
case 2: // Scan QR code
|
case 2:
|
||||||
scanQrHelper(navigate, onBarCodeRead);
|
scanQrHelper(navigate, onBarCodeRead);
|
||||||
break;
|
break;
|
||||||
case 3: // Copy from clipboard, this case exists only if clipboard is not empty
|
case 3:
|
||||||
if (!isClipboardEmpty) {
|
if (!isClipboardEmpty) {
|
||||||
copyFromClipboard();
|
copyFromClipboard();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// Add more cases if there are additional buttons
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue