Skip to content

Commit

Permalink
refactor(mobile): Remove unused component
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii committed Jan 10, 2024
1 parent 959b270 commit 4378193
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 237 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import FastImage from 'react-native-fast-image';

import styled from '$styled';
import { hNs, nfs, ns } from '$utils';
import { hNs, ns } from '$utils';
import { Opacity } from '$shared/constants';
import Animated from 'react-native-reanimated';

export const Wrap = styled.View`
padding: 0 ${ns(16)}px ${ns(32)}px ${ns(16)}px;
Expand Down Expand Up @@ -42,17 +41,3 @@ export const Link = styled.TouchableOpacity.attrs({
})`
padding: ${hNs(16)}px ${ns(16)}px;
`;

export const ScanQRContainer = styled(Animated.View)`
position: absolute;
top: 0;
right: 0;
bottom: 0;
justify-content: center;
`;

export const ScanQRTouchable = styled.TouchableOpacity.attrs({
activeOpacity: 0.6,
})`
padding: 0 ${ns(14)}px;
`;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback, useState } from 'react';
import { useValidateAddress } from '$hooks/useValidateAddress';
import { Button, Input, Text } from '$uikit';
import * as S from '../NFTTransferInputAddressModal/NFTTransferInputAddressModal.style';
import * as S from './ReplaceDomainAddressModal.style';
import { t } from '@tonkeeper/shared/i18n';
import { ns } from '$utils';
import { Modal } from '@tonkeeper/uikit';
Expand Down

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions packages/mobile/src/navigation/ModalStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { SecurityMigrationStack } from './SecurityMigrationStack/SecurityMigrationStack';
import { ResetPinStack } from './ResetPinStack/ResetPinStack';
import { createModalStackNavigator } from '@tonkeeper/router';
import { NFTTransferInputAddressModal } from '$core/ModalContainer/NFTTransferInputAddressModal/NFTTransferInputAddressModal';
import { NFT } from '$core/NFT/NFT';
import { SignRawModal } from '$core/ModalContainer/NFTOperations/Modals/SignRawModal';
import { AppStackRouteNames } from './navigationNames';
Expand Down Expand Up @@ -45,10 +44,6 @@ export const ModalStack = React.memo(() => (
<Stack.Modal component={ExchangeModal} path="Exchange" />
<Stack.Modal component={OldExchange} path="OldExchange" />
<Stack.Modal component={СonfirmRenewAllDomains} path="СonfirmRenewAllDomains" />
<Stack.Modal
component={NFTTransferInputAddressModal}
path="NFTTransferInputAddress"
/>
<Stack.Modal component={EditAppConfigModal} path="/dev/config/edit" />
<Stack.Modal component={SignRawModal} path="SignRaw" />
<Stack.Modal component={NewConfirmSending} path="NewConfirmSending" />
Expand Down

0 comments on commit 4378193

Please sign in to comment.