Skip to content

Commit

Permalink
Fix collectible image icon & send flow styles (#1470)
Browse files Browse the repository at this point in the history
* Fix collectible image icon & send flow styles

* Fix snapshot test for the new style
  • Loading branch information
andrepimenta authored Apr 9, 2020
1 parent a6678e2 commit cc7ee30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`CollectibleImage should render correctly 1`] = `
style={
Array [
Object {
"borderRadius": 25,
"borderRadius": 10,
"height": 50,
"overflow": "hidden",
"width": 50,
Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/CollectibleImage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const styles = StyleSheet.create({
listWrapper: {
width: 50,
height: 50,
borderRadius: 25,
borderRadius: 10,
overflow: 'hidden'
},
fullWrapper: {
Expand Down
2 changes: 1 addition & 1 deletion app/components/Views/SendFlow/Amount/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ class Amount extends PureComponent {
onPress={() => this.pickSelectedAsset(collectible)}
>
<View style={styles.assetElement}>
<CollectibleImage collectible={collectible} />
<CollectibleImage collectible={collectible} iconStyle={styles.tokenImage} containerStyle={styles.tokenImage} />
<View style={styles.assetInformationWrapper}>
<Text style={styles.textAssetTitle}>{name}</Text>
</View>
Expand Down

0 comments on commit cc7ee30

Please sign in to comment.