Skip to content

Commit

Permalink
refactor: remove UI push initialisation hook
Browse files Browse the repository at this point in the history
This is now done in the controller. The push click handler may need to be done through UI though.
  • Loading branch information
Prithpal-Sooriya committed Jan 14, 2025
1 parent 764e051 commit d8525a4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 177 deletions.
2 changes: 0 additions & 2 deletions app/components/Nav/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ import {
} from '../../../selectors/networkInfos';
import { selectShowIncomingTransactionNetworks } from '../../../selectors/preferencesController';

import useNotificationHandler from '../../../util/notifications/hooks';
import {
DEPRECATED_NETWORKS,
NETWORKS_CHAIN_ID,
Expand Down Expand Up @@ -115,7 +114,6 @@ const Main = (props) => {
const { connectionChangeHandler } = useConnectionHandler(props.navigation);

const removeNotVisibleNotifications = props.removeNotVisibleNotifications;
useNotificationHandler(props.navigation);
useEnableAutomaticSecurityChecks();
useMinimumVersions();

Expand Down
100 changes: 0 additions & 100 deletions app/util/notifications/hooks/index.test.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions app/util/notifications/hooks/index.ts

This file was deleted.

0 comments on commit d8525a4

Please sign in to comment.