Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jul 3, 2024
1 parent 10b3500 commit 1bdcdab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/Nav/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import {
} from '../../../actions/navigation';
import { findRouteNameFromNavigatorState } from '../../../util/general';
import { Authentication } from '../../../core/';
import { isBlockaidFeatureEnabled } from '../../../util/blockaid';
import { useTheme } from '../../../util/theme';
import Device from '../../../util/device';
import SDKConnect from '../../../core/SDKConnect/SDKConnect';
Expand Down Expand Up @@ -771,7 +770,7 @@ const App = ({ userLoggedIn }) => {
// do not render unless a route is defined
(route && (
<>
{isBlockaidFeatureEnabled() && <PPOMView />}
<PPOMView />
<NavigationContainer
// Prevents artifacts when navigating between screens
theme={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jest.mock('../../../../../core/Engine', () => ({
removeListener: jest.fn(),
},
},
PreferencesController: {
state: {
securityAlertsEnabled: true,
},
},
},
controllerMessenger: {
subscribe: jest.fn(),
Expand Down

0 comments on commit 1bdcdab

Please sign in to comment.