mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
ADD: Trigger Haptic feedback on Copy Priv Key
This commit is contained in:
parent
30cde4281f
commit
483ed4a4e0
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ import { BitcoinUnit } from '../../models/bitcoinUnits';
|
|||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import { AbstractWallet } from '../../class';
|
||||
import Biometric from '../../class/biometrics';
|
||||
import triggerHapticFeedback, { HapticFeedbackTypes } from '../../blue_modules/hapticFeedback';
|
||||
const confirm = require('../../helpers/confirm');
|
||||
|
||||
interface AddressItemProps {
|
||||
|
@ -100,6 +101,7 @@ const AddressItem = ({ item, balanceUnit, walletID, allowSignVerifyMessage }: Ad
|
|||
alert('Internal error: cant get WIF from the wallet');
|
||||
return;
|
||||
}
|
||||
triggerHapticFeedback(HapticFeedbackTypes.Selection);
|
||||
Clipboard.setString(wif);
|
||||
} catch (error: any) {
|
||||
alert(error.message);
|
||||
|
|
Loading…
Add table
Reference in a new issue