@@ -3,11 +3,9 @@ import { forwardRef } from 'react';
3
3
4
4
import { useNavigation } from '@react-navigation/native' ;
5
5
6
- import { Box , Button , Divider , VStack } from '@suite-native/atoms' ;
6
+ import { Box , Button , VStack } from '@suite-native/atoms' ;
7
7
import { Assets } from '@suite-native/assets' ;
8
- import { FeatureFlag , useFeatureFlag } from '@suite-native/feature-flags' ;
9
8
import {
10
- AccountsImportStackRoutes ,
11
9
RootStackParamList ,
12
10
RootStackRoutes ,
13
11
StackNavigationProps ,
@@ -22,14 +20,6 @@ export const PortfolioContent = forwardRef<PortfolioGraphRef>((_props, ref) => {
22
20
23
21
const isPortfolioTrackerDevice = useSelector ( selectIsPortfolioTrackerDevice ) ;
24
22
25
- const [ isUsbDeviceConnectFeatureEnabled ] = useFeatureFlag ( FeatureFlag . IsDeviceConnectEnabled ) ;
26
-
27
- const handleImportAssets = ( ) => {
28
- navigation . navigate ( RootStackRoutes . AccountsImport , {
29
- screen : AccountsImportStackRoutes . SelectNetwork ,
30
- } ) ;
31
- } ;
32
-
33
23
const handleReceive = ( ) => {
34
24
navigation . navigate ( RootStackRoutes . ReceiveModal , { closeActionType : 'back' } ) ;
35
25
} ;
@@ -42,31 +32,14 @@ export const PortfolioContent = forwardRef<PortfolioGraphRef>((_props, ref) => {
42
32
< Assets />
43
33
</ Box >
44
34
{ isPortfolioTrackerDevice && (
45
- < Box marginBottom = "sp8" >
46
- < Button
47
- testID = "@home/portfolio/sync-coins-button"
48
- colorScheme = "tertiaryElevation0"
49
- size = "large"
50
- onPress = { handleImportAssets }
51
- >
52
- < Translation id = "moduleHome.buttons.syncMyCoins" />
53
- </ Button >
54
- </ Box >
55
- ) }
56
- { ! isUsbDeviceConnectFeatureEnabled && (
57
- < >
58
- < Divider />
59
- < Box >
60
- < Button
61
- data-testID = "@home/portolio/recieve-button"
62
- size = "large"
63
- onPress = { handleReceive }
64
- viewLeft = "arrowLineDown"
65
- >
66
- < Translation id = "moduleHome.buttons.receive" />
67
- </ Button >
68
- </ Box >
69
- </ >
35
+ < Button
36
+ data-testID = "@home/portolio/recieve-button"
37
+ size = "large"
38
+ onPress = { handleReceive }
39
+ viewLeft = "arrowLineDown"
40
+ >
41
+ < Translation id = "moduleHome.buttons.receive" />
42
+ </ Button >
70
43
) }
71
44
</ VStack >
72
45
</ VStack >
0 commit comments