Skip to content

Commit

Permalink
refactor(ramp): remove cancel button from order send transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei committed Nov 15, 2023
1 parent a251b1b commit abba5fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function SendTransaction() {
title: strings(
'fiat_on_ramp_aggregator.send_transaction.sell_crypto',
),
showCancel: false,
},
colors,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,30 +231,7 @@ exports[`SendTransaction View renders correctly 1`] = `
}
}
>
<TouchableOpacity
accessibilityRole="button"
accessible={true}
onPress={[Function]}
style={
Object {
"paddingHorizontal": 18,
"paddingVertical": 8,
}
}
>
<Text
style={
Object {
"color": "#0376C9",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 23.57142857142857,
"fontWeight": "400",
}
}
>
Cancel
</Text>
</TouchableOpacity>
<View />
</View>
</View>
</View>
Expand Down Expand Up @@ -1067,30 +1044,7 @@ exports[`SendTransaction View renders correctly for custom action payment method
}
}
>
<TouchableOpacity
accessibilityRole="button"
accessible={true}
onPress={[Function]}
style={
Object {
"paddingHorizontal": 18,
"paddingVertical": 8,
}
}
>
<Text
style={
Object {
"color": "#0376C9",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 23.57142857142857,
"fontWeight": "400",
}
}
>
Cancel
</Text>
</TouchableOpacity>
<View />
</View>
</View>
</View>
Expand Down Expand Up @@ -1819,30 +1773,7 @@ exports[`SendTransaction View renders correctly for token 1`] = `
}
}
>
<TouchableOpacity
accessibilityRole="button"
accessible={true}
onPress={[Function]}
style={
Object {
"paddingHorizontal": 18,
"paddingVertical": 8,
}
}
>
<Text
style={
Object {
"color": "#0376C9",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 23.57142857142857,
"fontWeight": "400",
}
}
>
Cancel
</Text>
</TouchableOpacity>
<View />
</View>
</View>
</View>
Expand Down

0 comments on commit abba5fc

Please sign in to comment.