diff --git a/app/components/Nav/App/index.js b/app/components/Nav/App/index.js index f0316226cd3..79af8053345 100644 --- a/app/components/Nav/App/index.js +++ b/app/components/Nav/App/index.js @@ -6,7 +6,7 @@ import React, { useState, } from 'react'; import { CommonActions, NavigationContainer } from '@react-navigation/native'; -import { Animated, Linking } from 'react-native'; +import { Animated, Linking, View } from 'react-native'; import { createStackNavigator } from '@react-navigation/stack'; import Login from '../../Views/Login'; import QRScanner from '../../Views/QRScanner'; @@ -111,6 +111,9 @@ import DefaultSettings from '../../Views/OnboardingSuccess/DefaultSettings'; import BasicFunctionalityModal from '../../UI/BasicFunctionality/BasicFunctionalityModal/BasicFunctionalityModal'; import SmartTransactionsOptInModal from '../../Views/SmartTransactionsOptInModal/SmartTranactionsOptInModal'; import NFTAutoDetectionModal from '../../../../app/components/Views/NFTAutoDetectionModal/NFTAutoDetectionModal'; +///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps) +import { SnapsExecutionWebView } from '../../../lib/snaps'; +///: END:ONLY_INCLUDE_IF const clearStackNavigatorOptions = { headerShown: false, @@ -771,6 +774,15 @@ const App = ({ userLoggedIn }) => { // do not render unless a route is defined (route && ( <> + { + ///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps) + } + + + + { + ///: END:ONLY_INCLUDE_IF + } {isBlockaidFeatureEnabled() && } { ) : ( renderLoader() )} - { - ///: BEGIN:ONLY_INCLUDE_IF(preinstalled-snaps,external-snaps) - } - - - - { - ///: END:ONLY_INCLUDE_IF - }