File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ import React, { useCallback } from 'react';
3
3
import styled from 'styled-components/primitives' ;
4
4
import { delayNext } from '../../hooks/useMagicAutofocus' ;
5
5
import { useNavigation } from '../../navigation/Navigation' ;
6
- import {
7
- BackButton as ChevronBackButton ,
8
- BackButton as IOSBackButton ,
9
- } from '../header' ;
6
+ import { BackButton } from '../header' ;
10
7
import { Centered } from '../layout' ;
11
8
import { TruncatedText } from '../text' ;
12
9
import Routes from '@rainbow-me/routes' ;
@@ -37,8 +34,6 @@ const Title = styled(TruncatedText).attrs({
37
34
height: 21;
38
35
` ;
39
36
40
- const BackButton = ios ? IOSBackButton : ChevronBackButton ;
41
-
42
37
export default function CurrencySelectModalHeader ( { testID } ) {
43
38
const { navigate, dangerouslyGetState } = useNavigation ( ) ;
44
39
const { params } = useRoute ( ) ;
@@ -61,7 +56,7 @@ export default function CurrencySelectModalHeader({ testID }) {
61
56
height = { CurrencySelectModalHeaderHeight }
62
57
onPress = { handlePressBack }
63
58
testID = { testID }
64
- textChevron
59
+ textChevron = { android }
65
60
throttle
66
61
/>
67
62
</ BackButtonWrapper >
You can’t perform that action at this time.
0 commit comments