FIX: Haptic

This commit is contained in:
Marcos Rodriguez Vélez 2021-10-24 01:02:25 -04:00
parent 92067e8478
commit 62131a9354
No known key found for this signature in database
GPG key ID: 0D64671698D11C5C
2 changed files with 1 additions and 3 deletions

View file

@ -167,7 +167,7 @@ const Confirm = () => {
}
amount = formatBalanceWithoutSuffix(amount, BitcoinUnit.BTC, false);
ReactNativeHapticFeedback.trigger('notificationSuccess', { ignoreAndroidSystemSettings: false });
navigate('Success', {
fee: Number(fee),
amount,

View file

@ -1,7 +1,6 @@
import React, { useEffect, useRef } from 'react';
import PropTypes from 'prop-types';
import LottieView from 'lottie-react-native';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
import { View, StyleSheet, SafeAreaView } from 'react-native';
import { Text } from 'react-native-elements';
import BigNumber from 'bignumber.js';
@ -31,7 +30,6 @@ const Success = () => {
});
useEffect(() => {
console.log('send/success - useEffect');
ReactNativeHapticFeedback.trigger('notificationSuccess', { ignoreAndroidSystemSettings: false });
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);