This commit is contained in:
Marcos Rodriguez Velez 2024-04-18 18:32:59 -04:00
parent e2b6683941
commit 92a039a2bf
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7
2 changed files with 7 additions and 9 deletions

View File

@ -1,7 +1,7 @@
import { DrawerNavigationOptions, createDrawerNavigator } from '@react-navigation/drawer';
import { NativeStackNavigationOptions, createNativeStackNavigator } from '@react-navigation/native-stack';
import React, { useContext, useMemo } from 'react';
import { Dimensions, I18nManager, Platform, useWindowDimensions } from 'react-native';
import { I18nManager, Platform } from 'react-native';
import PlausibleDeniability from './screen/PlausibleDeniability';
import Selftest from './screen/selftest';
@ -67,7 +67,7 @@ import PsbtWithHardwareWallet from './screen/send/psbtWithHardwareWallet';
import Success from './screen/send/success';
import UnlockWith from './screen/UnlockWith';
import { isDesktop, isHandset, isTablet } from './blue_modules/environment';
import { isDesktop, isHandset } from './blue_modules/environment';
import navigationStyle from './components/navigationStyle';
import { useTheme } from './components/themes';
import loc from './loc';

View File

@ -5,9 +5,7 @@ import {
Text,
StyleSheet,
SectionList,
Platform,
Image,
Dimensions,
useWindowDimensions,
findNodeHandle,
I18nManager,
@ -23,7 +21,7 @@ import loc from '../../loc';
import { FContainer, FButton } from '../../components/FloatButtons';
import { useFocusEffect, useIsFocused, useRoute } from '@react-navigation/native';
import { BlueStorageContext } from '../../blue_modules/storage-context';
import { isDesktop, isTablet } from '../../blue_modules/environment';
import { isDesktop } from '../../blue_modules/environment';
import BlueClipboard from '../../blue_modules/clipboard';
import { TransactionListItem } from '../../components/TransactionListItem';
import { scanQrHelper } from '../../helpers/scan-qr';
@ -44,10 +42,10 @@ type SectionData = {
};
enum ActionTypes {
SET_LOADING = 'SET_LOADING',
SET_WALLETS = 'SET_WALLETS',
SET_CURRENT_INDEX = 'SET_CURRENT_INDEX',
SET_REFRESH_FUNCTION = 'SET_REFRESH_FUNCTION',
SET_LOADING,
SET_WALLETS,
SET_CURRENT_INDEX,
SET_REFRESH_FUNCTION,
}
interface SetLoadingAction {