mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
Merge pull request #3979 from BlueWallet/The-term-Alert-is-not-part-of-the-localisation-file-#3895
FIX: The term "Alert" is not part of the localisation file #3895
This commit is contained in:
commit
8fe698d40e
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import AsyncStorage from '@react-native-async-storage/async-storage';
|
||||
import { Alert } from 'react-native';
|
||||
import { LegacyWallet, SegwitBech32Wallet, SegwitP2SHWallet } from '../class';
|
||||
@ -6,6 +5,7 @@ import DefaultPreference from 'react-native-default-preference';
|
||||
import loc from '../loc';
|
||||
import WidgetCommunication from './WidgetCommunication';
|
||||
import { isTorDaemonDisabled } from './environment';
|
||||
import alert from '../components/Alert';
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
const ElectrumClient = require('electrum-client');
|
||||
const reverse = require('buffer-reverse');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import { Alert, Linking, PermissionsAndroid, Platform } from 'react-native';
|
||||
import RNFS from 'react-native-fs';
|
||||
import Share from 'react-native-share';
|
||||
@ -9,6 +8,7 @@ import { presentCameraNotAuthorizedAlert } from '../class/camera';
|
||||
import { isDesktop } from '../blue_modules/environment';
|
||||
import ActionSheet from '../screen/ActionSheet';
|
||||
import BlueClipboard from './clipboard';
|
||||
import alert from '../components/Alert';
|
||||
const LocalQRCode = require('@remobile/react-native-qrcode-local-image');
|
||||
|
||||
const writeFileAndExportToAndroidDestionation = async ({ filename, contents, destinationLocalizedString, destination }) => {
|
||||
|
@ -8,6 +8,7 @@ import Notifications from '../blue_modules/notifications';
|
||||
import loc from '../loc';
|
||||
import { LegacyWallet } from '../class';
|
||||
import { isTorDaemonDisabled, setIsTorDaemonDisabled } from './environment';
|
||||
import alert from '../components/Alert';
|
||||
const BlueApp = require('../BlueApp');
|
||||
const BlueElectrum = require('./BlueElectrum');
|
||||
const currency = require('../blue_modules/currency');
|
||||
@ -39,7 +40,7 @@ export const BlueStorageProvider = ({ children }) => {
|
||||
useEffect(() => {
|
||||
console.log(`Privacy blur: ${isPrivacyBlurEnabled}`);
|
||||
if (!isPrivacyBlurEnabled) {
|
||||
Alert.alert('', 'Privacy blur has been disabled.');
|
||||
alert('Privacy blur has been disabled.');
|
||||
}
|
||||
}, [isPrivacyBlurEnabled]);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import AsyncStorage from '@react-native-async-storage/async-storage';
|
||||
import RNSecureKeyStore, { ACCESSIBLE } from 'react-native-secure-key-store';
|
||||
import * as Keychain from 'react-native-keychain';
|
||||
@ -22,6 +21,7 @@ import {
|
||||
SLIP39SegwitBech32Wallet,
|
||||
} from './';
|
||||
import { randomBytes } from './rng';
|
||||
import alert from '../components/Alert';
|
||||
const encryption = require('../blue_modules/encryption');
|
||||
const Realm = require('realm');
|
||||
const createHash = require('create-hash');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import FingerprintScanner from 'react-native-fingerprint-scanner';
|
||||
import { Platform, Alert } from 'react-native';
|
||||
import PasscodeAuth from 'react-native-passcode-auth';
|
||||
@ -8,6 +7,7 @@ import RNSecureKeyStore from 'react-native-secure-key-store';
|
||||
import loc from '../loc';
|
||||
import { useContext } from 'react';
|
||||
import { BlueStorageContext } from '../blue_modules/storage-context';
|
||||
import alert from '../components/Alert';
|
||||
|
||||
function Biometric() {
|
||||
const { getItem, setItem } = useContext(BlueStorageContext);
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* global alert */
|
||||
import * as bitcoin from 'bitcoinjs-lib';
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
import alert from '../components/Alert';
|
||||
|
||||
const delay = milliseconds => new Promise(resolve => setTimeout(resolve, milliseconds));
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import { BitcoinUnit, Chain } from '../../models/bitcoinUnits';
|
||||
import RnLdk from 'rn-ldk/src/index';
|
||||
import { LightningCustodianWallet } from './lightning-custodian-wallet';
|
||||
@ -8,6 +7,7 @@ import * as bip39 from 'bip39';
|
||||
import { HDSegwitBech32Wallet } from './hd-segwit-bech32-wallet';
|
||||
import bolt11 from 'bolt11';
|
||||
import { SegwitBech32Wallet } from './segwit-bech32-wallet';
|
||||
import alert from '../../components/Alert';
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
|
||||
export class LightningLdkWallet extends LightningCustodianWallet {
|
||||
|
6
components/Alert.js
Normal file
6
components/Alert.js
Normal file
@ -0,0 +1,6 @@
|
||||
import { Alert } from 'react-native';
|
||||
import loc from '../loc';
|
||||
const alert = string => {
|
||||
Alert.alert(loc.alert.default, string);
|
||||
};
|
||||
export default alert;
|
@ -27,6 +27,9 @@
|
||||
"discard_changes": "Discard changes?",
|
||||
"discard_changes_detail": "You have unsaved changes. Are you sure to discard them and leave the screen?"
|
||||
},
|
||||
"alert": {
|
||||
"default": "Alert"
|
||||
},
|
||||
"azteco": {
|
||||
"codeIs": "Your voucher code is",
|
||||
"errorBeforeRefeem": "Before redeeming, you must first add a Bitcoin wallet.",
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useRef, useState } from 'react';
|
||||
import { View, StatusBar, StyleSheet, Text, Keyboard, TouchableOpacity, SectionList } from 'react-native';
|
||||
import { RouteProp, useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
@ -12,6 +11,7 @@ import BottomModal from '../../components/BottomModal';
|
||||
import Button, { ButtonStyle } from '../../components/Button';
|
||||
import { Psbt } from 'bitcoinjs-lib';
|
||||
import { AbstractWallet, LightningLdkWallet } from '../../class';
|
||||
import alert from '../../components/Alert';
|
||||
const selectWallet = require('../../helpers/select-wallet');
|
||||
const confirm = require('../../helpers/confirm');
|
||||
const LdkNodeInfoChannelStatus = { ACTIVE: 'Active', INACTIVE: 'Inactive', PENDING: 'PENDING', STATUS: 'status' };
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useRef, useState } from 'react';
|
||||
import { View, StatusBar, StyleSheet } from 'react-native';
|
||||
import { RouteProp, useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
@ -15,6 +14,7 @@ import { AbstractWallet, HDSegwitBech32Wallet, LightningLdkWallet } from '../../
|
||||
import { ArrowPicker } from '../../components/ArrowPicker';
|
||||
import { Psbt } from 'bitcoinjs-lib';
|
||||
import Biometric from '../../class/biometrics';
|
||||
import alert from '../../components/Alert';
|
||||
const currency = require('../../blue_modules/currency');
|
||||
|
||||
type LdkOpenChannelProps = RouteProp<
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
@ -28,6 +27,7 @@ import loc, { formatBalanceWithoutSuffix, formatBalancePlain } from '../../loc';
|
||||
import Lnurl from '../../class/lnurl';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import Notifications from '../../blue_modules/notifications';
|
||||
import alert from '../../components/Alert';
|
||||
const currency = require('../../blue_modules/currency');
|
||||
const torrific = require('../../blue_modules/torrific');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
import { View, Share, StyleSheet } from 'react-native';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
@ -8,6 +7,7 @@ import navigationStyle from '../../components/navigationStyle';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import QRCodeComponent from '../../components/QRCodeComponent';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const LNDViewAdditionalInvoiceInformation = () => {
|
||||
const { walletID } = useRoute().params;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
import AsyncStorage from '@react-native-async-storage/async-storage';
|
||||
@ -22,6 +21,7 @@ import loc, { formatBalanceWithoutSuffix, formatBalance } from '../../loc';
|
||||
import Biometric from '../../class/biometrics';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
import alert from '../../components/Alert';
|
||||
const prompt = require('../../blue_modules/prompt');
|
||||
const currency = require('../../blue_modules/currency');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
||||
import {
|
||||
Text,
|
||||
@ -25,6 +24,7 @@ import { BitcoinUnit, Chain } from '../../models/bitcoinUnits';
|
||||
import Biometric from '../../class/biometrics';
|
||||
import loc, { formatBalanceWithoutSuffix } from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
const currency = require('../../blue_modules/currency');
|
||||
|
||||
const ScanLndInvoice = () => {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useState } from 'react';
|
||||
import { ScrollView } from 'react-native';
|
||||
import { useNavigation } from '@react-navigation/native';
|
||||
@ -8,6 +7,7 @@ import navigationStyle from '../components/navigationStyle';
|
||||
import { BlueLoading, BlueButton, SafeBlueArea, BlueCard, BlueText, BlueSpacing20 } from '../BlueComponents';
|
||||
import loc from '../loc';
|
||||
import { BlueStorageContext } from '../blue_modules/storage-context';
|
||||
import alert from '../components/Alert';
|
||||
const prompt = require('../blue_modules/prompt');
|
||||
|
||||
const PlausibleDeniability = () => {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Keyboard, Text, TouchableOpacity, StatusBar, TouchableWithoutFeedback, View, StyleSheet, I18nManager } from 'react-native';
|
||||
@ -9,6 +8,7 @@ import { navigationStyleTx } from '../../components/navigationStyle';
|
||||
import loc from '../../loc';
|
||||
import Azteco from '../../class/azteco';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
loading: {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState } from 'react';
|
||||
import { Image, View, TouchableOpacity, StatusBar, Platform, StyleSheet, TextInput, Alert } from 'react-native';
|
||||
import { RNCamera } from 'react-native-camera';
|
||||
@ -10,6 +9,7 @@ import loc from '../../loc';
|
||||
import { BlueLoading, BlueText, BlueButton, BlueSpacing40 } from '../../BlueComponents';
|
||||
import { BlueCurrentTheme } from '../../components/themes';
|
||||
import { openPrivacyDesktopSettings } from '../../class/camera';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const LocalQRCode = require('@remobile/react-native-qrcode-local-image');
|
||||
const createHash = require('create-hash');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
import { ActivityIndicator, FlatList, TouchableOpacity, StyleSheet, Switch, View } from 'react-native';
|
||||
import { Text } from 'react-native-elements';
|
||||
@ -16,6 +15,7 @@ import Notifications from '../../blue_modules/notifications';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import { Psbt } from 'bitcoinjs-lib';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
import alert from '../../components/Alert';
|
||||
const currency = require('../../blue_modules/currency');
|
||||
const BlueElectrum = require('../../blue_modules/BlueElectrum');
|
||||
const Bignumber = require('bignumber.js');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useCallback, useEffect } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { TextInput, FlatList, Linking, TouchableOpacity, StyleSheet, Text, View, Platform, PermissionsAndroid, Alert } from 'react-native';
|
||||
@ -15,6 +14,7 @@ import loc from '../../loc';
|
||||
import { DynamicQRCode } from '../../components/DynamicQRCode';
|
||||
import { isDesktop } from '../../blue_modules/environment';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
import alert from '../../components/Alert';
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
const currency = require('../../blue_modules/currency');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
import { FlatList, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
||||
import { Icon } from 'react-native-elements';
|
||||
@ -9,6 +8,7 @@ import navigationStyle from '../../components/navigationStyle';
|
||||
import loc from '../../loc';
|
||||
import { BitcoinUnit } from '../../models/bitcoinUnits';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
const BigNumber = require('bignumber.js');
|
||||
const currency = require('../../blue_modules/currency');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { ActivityIndicator, findNodeHandle, ScrollView, StyleSheet, View } from 'react-native';
|
||||
import { getSystemName } from 'react-native-device-info';
|
||||
@ -10,6 +9,7 @@ import { DynamicQRCode } from '../../components/DynamicQRCode';
|
||||
import { SquareButton } from '../../components/SquareButton';
|
||||
|
||||
import loc from '../../loc';
|
||||
import alert from '../../components/Alert';
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
const fs = require('../../blue_modules/fs');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useRef, useState } from 'react';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
@ -26,6 +25,7 @@ import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import Notifications from '../../blue_modules/notifications';
|
||||
import { DynamicQRCode } from '../../components/DynamicQRCode';
|
||||
import alert from '../../components/Alert';
|
||||
const BlueElectrum = require('../../blue_modules/BlueElectrum');
|
||||
const bitcoin = require('bitcoinjs-lib');
|
||||
const fs = require('../../blue_modules/fs');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext } from 'react';
|
||||
import { TouchableOpacity, ScrollView, Linking, Image, View, Text, StyleSheet, useWindowDimensions, Platform } from 'react-native';
|
||||
import { useNavigation, useTheme } from '@react-navigation/native';
|
||||
@ -10,6 +9,7 @@ import navigationStyle from '../../components/navigationStyle';
|
||||
import loc, { formatStringAddTwoWhiteSpaces } from '../../loc';
|
||||
import Clipboard from '@react-native-clipboard/clipboard';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const A = require('../../blue_modules/analytics');
|
||||
const branch = require('../../current-branch.json');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
@ -38,6 +37,7 @@ import { isTorCapable } from '../../blue_modules/environment';
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
import WidgetCommunication from '../../blue_modules/WidgetCommunication';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const BlueElectrum = require('../../blue_modules/BlueElectrum');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useEffect, useState, useCallback, useContext } from 'react';
|
||||
import { ScrollView, Alert, TouchableOpacity, TouchableWithoutFeedback, StyleSheet } from 'react-native';
|
||||
import { useNavigation } from '@react-navigation/native';
|
||||
@ -10,6 +9,7 @@ import { BlueLoading, SafeBlueArea, BlueSpacing20, BlueCard, BlueListItem, BlueH
|
||||
import Biometric from '../../class/biometrics';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
const prompt = require('../../blue_modules/prompt');
|
||||
|
||||
const EncryptStorage = () => {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import { FlatList, StyleSheet } from 'react-native';
|
||||
import { useNavigation, useTheme } from '@react-navigation/native';
|
||||
@ -8,6 +7,7 @@ import { BlueListItem } from '../../BlueComponents';
|
||||
import loc from '../../loc';
|
||||
import { AvailableLanguages } from '../../loc/languages';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
flex: {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState, useEffect, useCallback } from 'react';
|
||||
import { View, TextInput, Linking, StyleSheet, Alert, I18nManager } from 'react-native';
|
||||
import { Button } from 'react-native-elements';
|
||||
@ -13,6 +12,7 @@ import loc from '../../loc';
|
||||
import { useTheme } from '../../components/themes';
|
||||
import DeeplinkSchemaMatch from '../../class/deeplink-schema-match';
|
||||
import { isTorCapable } from '../../blue_modules/environment';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
uri: {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { ScrollView, TouchableWithoutFeedback, I18nManager, StyleSheet, Linking, View, TextInput } from 'react-native';
|
||||
import { useTheme } from '@react-navigation/native';
|
||||
@ -9,6 +8,7 @@ import { BlueButton, BlueCard, BlueCopyToClipboardButton, BlueListItem, BlueLoad
|
||||
import loc from '../../loc';
|
||||
import { BlueCurrentTheme } from '../../components/themes';
|
||||
import Notifications from '../../blue_modules/notifications';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const NotificationSettings = () => {
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import { View, StyleSheet } from 'react-native';
|
||||
|
||||
@ -6,6 +5,7 @@ import navigationStyle from '../../components/navigationStyle';
|
||||
import { BlueButton, BlueCard, BlueListItem, BlueLoading, BlueSpacing20, BlueText, SafeBlueArea } from '../../BlueComponents';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const torrific = require('../../blue_modules/torrific');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
@ -23,6 +22,7 @@ import { HDSegwitBech32Transaction, HDSegwitBech32Wallet } from '../../class';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import Notifications from '../../blue_modules/notifications';
|
||||
import alert from '../../components/Alert';
|
||||
const BlueElectrum = require('../../blue_modules/BlueElectrum');
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { ActivityIndicator, View, ScrollView, StyleSheet } from 'react-native';
|
||||
@ -8,6 +7,7 @@ import { HDSegwitBech32Transaction, HDSegwitBech32Wallet } from '../../class';
|
||||
import CPFP from './CPFP';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
root: {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { ActivityIndicator, View, ScrollView } from 'react-native';
|
||||
@ -8,6 +7,7 @@ import { HDSegwitBech32Transaction, HDSegwitBech32Wallet } from '../../class';
|
||||
import CPFP from './CPFP';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
export default class RBFCancel extends CPFP {
|
||||
static contextType = BlueStorageContext;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
import { View, ScrollView, TouchableOpacity, Text, TextInput, Linking, StatusBar, StyleSheet, Keyboard } from 'react-native';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
@ -9,6 +8,7 @@ import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import Clipboard from '@react-native-clipboard/clipboard';
|
||||
import ToolTipMenu from '../../components/TooltipMenu';
|
||||
import alert from '../../components/Alert';
|
||||
const dayjs = require('dayjs');
|
||||
|
||||
function onlyUnique(value, index, self) {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import {
|
||||
Text,
|
||||
@ -40,6 +39,7 @@ import { Chain } from '../../models/bitcoinUnits';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import { LdkButton } from '../../components/LdkButton';
|
||||
import alert from '../../components/Alert';
|
||||
const A = require('../../blue_modules/analytics');
|
||||
|
||||
const ButtonSelected = Object.freeze({
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useRef, useState } from 'react';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
@ -40,6 +39,7 @@ import MultipleStepsListItem, {
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import { encodeUR } from '../../blue_modules/ur';
|
||||
import QRCodeComponent from '../../components/QRCodeComponent';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const prompt = require('../../blue_modules/prompt');
|
||||
const A = require('../../blue_modules/analytics');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useEffect, useState, useCallback, useContext, useRef, useMemo } from 'react';
|
||||
import {
|
||||
View,
|
||||
@ -44,6 +43,7 @@ import Notifications from '../../blue_modules/notifications';
|
||||
import { isDesktop } from '../../blue_modules/environment';
|
||||
import { AbstractHDElectrumWallet } from '../../class/wallets/abstract-hd-electrum-wallet';
|
||||
import { Chain } from '../../models/bitcoinUnits';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const prompt = require('../../blue_modules/prompt');
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Icon } from 'react-native-elements';
|
||||
@ -29,6 +28,7 @@ import { BlueCurrentTheme } from '../../components/themes';
|
||||
import BottomModal from '../../components/BottomModal';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
const A = require('../../blue_modules/analytics');
|
||||
|
||||
const CURRENCY_CODE_ANY = '_any';
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import {
|
||||
@ -23,6 +22,7 @@ import { BlueCurrentTheme } from '../../components/themes';
|
||||
import BottomModal from '../../components/BottomModal';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
export default class HodlHodlMyContracts extends Component {
|
||||
static contextType = BlueStorageContext;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { Component } from 'react';
|
||||
import { Alert, FlatList, Image, KeyboardAvoidingView, Platform, ScrollView, StyleSheet, Text, View } from 'react-native';
|
||||
import PropTypes from 'prop-types';
|
||||
@ -11,6 +10,7 @@ import * as NavigationService from '../../NavigationService';
|
||||
import { BlueCurrentTheme } from '../../components/themes';
|
||||
import loc from '../../loc';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import alert from '../../components/Alert';
|
||||
const prompt = require('../../blue_modules/prompt');
|
||||
|
||||
export default class HodlHodlViewOffer extends Component {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useEffect, useState, useContext, useRef } from 'react';
|
||||
import { StyleSheet, View, ScrollView, TouchableOpacity } from 'react-native';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
@ -8,6 +7,7 @@ import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
import loc from '../../loc';
|
||||
import { Icon } from 'react-native-elements';
|
||||
import { LightningLdkWallet } from '../../class';
|
||||
import alert from '../../components/Alert';
|
||||
const fs = require('../../blue_modules/fs');
|
||||
|
||||
const LdkViewLogs = () => {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useEffect, useState, useCallback, useContext, useRef } from 'react';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
@ -35,6 +34,7 @@ import BlueClipboard from '../../blue_modules/clipboard';
|
||||
import LNNodeBar from '../../components/LNNodeBar';
|
||||
import TransactionsNavigationHeader from '../../components/TransactionsNavigationHeader';
|
||||
import { TransactionListItem } from '../../components/TransactionListItem';
|
||||
import alert from '../../components/Alert';
|
||||
|
||||
const fs = require('../../blue_modules/fs');
|
||||
const BlueElectrum = require('../../blue_modules/BlueElectrum');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* global alert */
|
||||
import React, { useContext, useRef, useState, useCallback } from 'react';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
@ -43,6 +42,7 @@ import { SquareButton } from '../../components/SquareButton';
|
||||
import { isMacCatalina } from '../../blue_modules/environment';
|
||||
import { encodeUR } from '../../blue_modules/ur';
|
||||
import QRCodeComponent from '../../components/QRCodeComponent';
|
||||
import alert from '../../components/Alert';
|
||||
const fs = require('../../blue_modules/fs');
|
||||
|
||||
const ViewEditMultisigCosigners = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user