DEL: Remove unneccesary flags as they were irrelevant

This commit is contained in:
Marcos Rodriguez Velez 2024-06-05 20:05:16 -04:00
parent 71fe40f433
commit 403a1d0f4e
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7
2 changed files with 2 additions and 14 deletions

View File

@ -2,7 +2,7 @@ import 'react-native-gesture-handler'; // should be on top
import { CommonActions } from '@react-navigation/native';
import React, { lazy, Suspense, useCallback, useEffect, useRef } from 'react';
import { AppState, AppStateStatus, Linking, NativeEventEmitter, NativeModules, Platform, UIManager } from 'react-native';
import { AppState, AppStateStatus, Linking, NativeEventEmitter, NativeModules, Platform } from 'react-native';
import A from '../blue_modules/analytics';
import BlueClipboard from '../blue_modules/clipboard';
@ -31,12 +31,6 @@ const ClipboardContentType = Object.freeze({
LIGHTNING: 'LIGHTNING',
});
if (Platform.OS === 'android') {
if (UIManager.setLayoutAnimationEnabledExperimental) {
UIManager.setLayoutAnimationEnabledExperimental(true);
}
}
const CompanionDelegates = () => {
const { wallets, addWallet, saveToDisk, fetchAndSaveWalletTransactions, refreshAllWalletTransactions, setSharedCosigner } = useStorage();
const appState = useRef<AppStateStatus>(AppState.currentState);

View File

@ -1,7 +1,7 @@
import './shim.js';
import React, { useEffect } from 'react';
import { AppRegistry, LogBox, Platform, UIManager } from 'react-native';
import { AppRegistry, LogBox } from 'react-native';
import App from './App';
import A from './blue_modules/analytics';
@ -14,12 +14,6 @@ if (!Error.captureStackTrace) {
LogBox.ignoreLogs(['Require cycle:', 'Battery state `unknown` and monitoring disabled, this is normal for simulators and tvOS.']);
if (Platform.OS === 'android') {
if (UIManager.setLayoutAnimationEnabledExperimental) {
UIManager.setLayoutAnimationEnabledExperimental(true);
}
}
const BlueAppComponent = () => {
useEffect(() => {
restoreSavedPreferredFiatCurrencyAndExchangeFromStorage();